home *** CD-ROM | disk | FTP | other *** search
/ Freelog 70 / Freelog070.iso / Internet / EasyPHP / easyphp1-8_setup.exe / {app} / phpmyadmin / Documentation.txt < prev    next >
Encoding:
Text File  |  2005-01-23  |  138.1 KB  |  2,940 lines

  1.  
  2.    ______________________________________________________________________
  3.  
  4.    Top    -    Requirements    -    Introduction    -    Installation   -
  5.    Configuration
  6.    Transformations  -  FAQ  -  Developers  -  Credits  -  Translators
  7.    ______________________________________________________________________
  8.  
  9.                         phpMyAdmin 2.6.1 Documentation
  10.  
  11.      * SourceForge phpMyAdmin project page   [ http://www.phpmyadmin.net/
  12.        ] 
  13.      * Local documents:
  14.           + Version history: ChangeLog
  15.           + General notes: README
  16.           + License: LICENSE
  17.      * Documentation   version:   $Id:   Documentation.html,v   2.103.2.1
  18.        2005/01/24 01:10:22 lem9 Exp $
  19.  
  20. Requirements
  21.  
  22.      * PHP
  23.           + You need PHP 4.1.0 or newer (*)
  24.           + If  you  want  to display inline thumbnails of JPEGs with the
  25.             original aspect ratio, you also need GD2 support in PHP
  26.           + Starting  with  phpMyAdmin  2.6.1, MIME-based transformations
  27.             that use an external program need PHP 4.3.0 or newer
  28.      * MySQL 3.23.32 or newer (details);
  29.      * Not really a requirement but a strong suggestion: if you are using
  30.        the   "cookie"   authentication  method,  having  the  mcrypt  PHP
  31.        extension  on your web server accelerates not only the login phase
  32.        but every other action that you do in phpMyAdmin.
  33.      * a web-browser (doh!).
  34.  
  35. Introduction
  36.  
  37.    phpMyAdmin  can  manage  a  whole MySQL server (needs a super-user) as
  38.    well  as  a  single  database.  To accomplish the latter you'll need a
  39.    properly  set  up  MySQL  user  who  can  read/write  only the desired
  40.    database.  It's up to you to look up the appropriate part in the MySQL
  41.    manual.
  42.    Currently phpMyAdmin can:
  43.      * create and drop databases
  44.      * create, copy, drop, rename and alter tables
  45.      * do table maintenance
  46.      * delete, edit and add fields
  47.      * execute any SQL-statement, even batch-queries
  48.      * manage keys on fields
  49.      * load text files into tables
  50.      * create (*) and read dumps of tables
  51.      * export (*) data to CSV, XML and Latex formats
  52.      * administer multiple servers
  53.      * manage MySQL users and privileges
  54.      * check referential integrity in MyISAM tables
  55.      * using Query-by-example (QBE), create complex queries automatically
  56.        connecting required tables
  57.      * create PDF graphics of your Database layout
  58.      * search globally in a database or a subset of it
  59.      * transform  stored  data  into any format using a set of predefined
  60.        functions,  like displaying BLOB-data as image or download-link or
  61.        ...
  62.      * support InnoDB tables and foreign keys (see FAQ 3.6)
  63.      * support mysqli, the improved MySQL extension (see FAQ 1.17)
  64.      * communicate in 47 different languages
  65.  
  66.    (*)   phpMyAdmin  can compress (Zip, GZip -RFC 1952- or Bzip2 formats)
  67.    dumps  and  CSV  exports  if  you  use PHP4 >= 4.0.4 with Zlib support
  68.    (--with-zlib) and/or Bzip2 support (--with-bz2).
  69.  
  70. Installation
  71.  
  72.    NOTE:  phpMyAdmin  does  not apply any special security methods to the
  73.    MySQL  database  server. It is still the system administrator's job to
  74.    grant  permissions  on  the  MySQL  databases  properly.  phpMyAdmin's
  75.    "Privileges" page can be used for this.
  76.  
  77.    Warning  for  Mac  users:if  you  are  on a MacOS version before OS X,
  78.    StuffIt unstuffs with Mac formats.
  79.    So  you'll  have  to  resave as in BBEdit to Unix style ALL phpMyAdmin
  80.    scripts before uploading them to your server, as PHP seems not to like
  81.    Mac-style end of lines character ("\r").
  82.  
  83.   Quick Install
  84.  
  85.     1. Untar   or   unzip   the   distribution  (be  sure  to  unzip  the
  86.        subdirectories):   tar   -xzvf   phpMyAdmin_x.x.x.tar.gz  in  your
  87.        webserver's document root. If you don't have direct access to your
  88.        document root, put the files in a directory on your local machine,
  89.        and,  after  step  3,  transfer  the  directory on your web server
  90.        using, for example, ftp.
  91.     2. Ensure  that all the scripts have the appropriate owner (if PHP is
  92.        running  in safe mode, having some scripts with an owner different
  93.        from  the  owner  of other scripts will be a problem). See FAQ 4.2
  94.        for suggestions.
  95.     3. Open  the  file  config.inc.php in your favorite editor and change
  96.        the values for host, user, password and authentication mode to fit
  97.        your environment. Here, "host" means the MySQL server. Also insert
  98.        the  correct  value  for  $cfg['PmaAbsoluteUri'].  Have  a look at
  99.        Configuration  section  for  an  explanation of all values. Please
  100.        also   read   the  remaining  of  this  Installation  section  for
  101.        information  about  authentication  modes  and  the  linked-tables
  102.        infrastructure.
  103.     4. It  is  recommended  that  you  protect the directory in which you
  104.        installed  phpMyAdmin  (unless  it's  on a closed intranet, or you
  105.        wish  to  use  HTTP  or  cookie  authentication), for example with
  106.        HTTP-AUTH (in a .htaccess file). See the multi-user sub-section of
  107.        the FAQ for additional information, especially FAQ 4.4.
  108.     5. Open  the file <www.your-host.com>/<your-install-dir>/index.php in
  109.        your  browser.  phpMyAdmin should now display a welcome screen and
  110.        your  databases,  or  a  login  dialog  if  using  HTTP  or cookie
  111.        authentication mode.
  112.  
  113.   Linked-tables infrastructure
  114.  
  115.    For  a  whole  set  of new features (bookmarks, comments, SQL-history,
  116.    PDF-generation,  field  contents  transformation,  etc.)  you  need to
  117.    create  a  set  of special tables. Those tables can be located in your
  118.    own  database,  or in a central database for a multi-user installation
  119.    (this  database would then be accessed by the controluser, so no other
  120.    user should have rights to it).
  121.    Please  look  at your scripts/ directory, where you should find a file
  122.    called  create_tables.sql.  (If  you  are  using a Windows server, pay
  123.    special attention to FAQ 1.23).
  124.    If  your  MySQL  server's  version  is  4.1.2  or  later,  please  use
  125.    create_tables_mysql_4_1_2+.sql instead, for a new installation.
  126.    If  you already had this infrastructure and upgraded to MySQL 4.1.2 or
  127.    later, please use upgrade_tables_mysql_4_1_2+.sql.
  128.    You  can  use  your phpMyAdmin to create the tables for you. Please be
  129.    aware  that  you may need special (administrator) privileges to create
  130.    the  database  and  tables,  and that the script may need some tuning,
  131.    depending on the database name.
  132.    After  having  imported the create_tables.sql file, you should specify
  133.    the  table  names in your config.inc.php file. The directives used for
  134.    that  can be found in the Configuration section. You will also need to
  135.    have a controluser with the proper rights to those tables (see section
  136.    Using authentication modes below).
  137.  
  138.   Upgrading from an older version
  139.  
  140.      * You  can  safely copy your older config.inc.php over a new one, if
  141.        you  can live with default values for possible new parameters (you
  142.        can check release notes to see what new features were added). This
  143.        compatibility  will  stay  for long time, current version supports
  144.        importing  config  files from 2.2 and maybe even older (nobody has
  145.        tried that).
  146.  
  147.   Using authentication modes
  148.  
  149.      * HTTP   and  cookie  authentication  modes  are  recommended  in  a
  150.        multi-user  environment  where  you  want  to give users access to
  151.        their own database and don't want them to play around with others.
  152.        Nevertheless be aware that MS Internet Explorer seems to be really
  153.        buggy  about  cookies,  at  least till version 6. And PHP 4.1.1 is
  154.        also a bit buggy in this area!
  155.        Even in a single-user environment, you might prefer to use HTTP or
  156.        cookie  mode  so  that your user/password pair are not in clear in
  157.        the configuration file.
  158.      * HTTP  and  cookie  authentication modes are more secure: the MySQL
  159.        login  information  does  not  need  to  be  set in the phpMyAdmin
  160.        configuration file (except possibly for the controluser).
  161.        However,  keep  in  mind  that the password travels in plain text,
  162.        unless you are using the HTTPS protocol.
  163.        In  cookie  mode,  the  password  is  stored,  encrypted  with the
  164.        blowfish algorithm, in a temporary cookie.
  165.      * Note:  starting with phpMyAdmin 2.6.1, configuring the controluser
  166.        to  enable  HTTP  and  cookie authentication applies only to MySQL
  167.        servers older than 4.1.2.
  168.        For 'HTTP' and 'cookie' modes, phpMyAdmin needs a controluser that
  169.        has  only  the  SELECT  privilege  on  the mysql.user (all columns
  170.        except   "Password"),  mysql.db  (all  columns),  mysql.host  (all
  171.        columns)  and  mysql.tables_priv  (all  columns except "Grantor" &
  172.        "Timestamp") tables.
  173.        You   must   specify  the  details  for  the  controluser  in  the
  174.        config.inc.php  file under the $cfg['Servers'][$i]['controluser']&
  175.        $cfg['Servers'][$i]['controlpass'] settings.
  176.        The  following  example  assumes  you  want  to  use  pma  as  the
  177.        controluser  and  pmapass  as the controlpass, but this is only an
  178.        example: use something else in your file!
  179.        Of course you have to replace localhost by the webserver's host if
  180.        it's not the same as the MySQL server's one.
  181.  
  182. GRANT USAGE ON mysql.* TO 'pma'@'localhost' IDENTIFIED BY 'pmapass';
  183. GRANT SELECT (
  184.     Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv,
  185.     Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv,
  186.     File_priv, Grant_priv, References_priv, Index_priv, Alter_priv,
  187.     Show_db_priv, Super_priv, Create_tmp_table_priv, Lock_tables_priv,
  188.     Execute_priv, Repl_slave_priv, Repl_client_priv
  189.     ) ON mysql.user TO 'pma'@'localhost';
  190. GRANT SELECT ON mysql.db TO 'pma'@'localhost';
  191. GRANT SELECT ON mysql.host TO 'pma'@'localhost';
  192. GRANT SELECT (Host, Db, User, Table_name, Table_priv, Column_priv)
  193.     ON mysql.tables_priv TO 'pma'@'localhost';
  194.  
  195.        If  you  are  using  an  old  MySQL  version (below 4.0.2), please
  196.        replace the first GRANT SELECT query by this one:
  197.  
  198. GRANT SELECT (
  199.     Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv,
  200.     Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv,
  201.     File_priv, Grant_priv, References_priv, Index_priv, Alter_priv
  202.     ) ON mysql.user TO 'pma'@'localhost';
  203.  
  204.        ...  and  if  you  want  to use the many new relation and bookmark
  205.        features:
  206.  
  207. GRANT SELECT, INSERT, UPDATE, DELETE ON <pma_db>.* TO 'pma'@'localhost';
  208.  
  209.        (this  of course requires you to have a special DB for phpMyAdmin,
  210.        the contents will be explained later)
  211.        Of  course,  the  above  queries  only  work if your MySQL version
  212.        supports the GRANT command. This is the case since 3.22.11.
  213.      * Then  each of the true users should be granted a set of privileges
  214.        on  a  set  of  particular  databases. Normally you shouldn't give
  215.        global  privileges  to an ordinary user, unless you understand the
  216.        impact  of  those  privileges  (for  example,  you  are creating a
  217.        superuser).
  218.        For  example,  to  grant the user real_user with all privileges on
  219.        the database user_base:
  220.           GRANT  ALL  PRIVILEGES  ON user_base.* TO 'real_user'@localhost
  221.        IDENTIFIED BY 'real_password';
  222.        What  the user may now do is controlled entirely by the MySQL user
  223.        management system.
  224.        With  HTTP  or  cookie authentication mode, you don't need to fill
  225.        the user/password fields inside the $cfg['Servers'] array.
  226.  
  227.     'http' authentication mode
  228.  
  229.      * Was called 'advanced' in versions before 2.2.3.
  230.      * Introduced  in 1.3.0, it uses Basic HTTP authentication method and
  231.        allows you to login as any valid MySQL user.
  232.      * Is  only  supported with PHP running as an Apache module, not with
  233.        CGI.
  234.      * See  also  FAQ  4.4  about not using the .htaccess mechanism along
  235.        with 'http' authentication mode.
  236.  
  237.     'cookie' authentication mode
  238.  
  239.      * You   can   use   this  method  as  a  replacement  for  the  HTTP
  240.        authentication (for example, if you're running IIS).
  241.      * Obviously, the user must enable cookies in the browser.
  242.      * With  this mode, the user can truly logout of phpMyAdmin and login
  243.        back with the same username.
  244.      * If    you    want    to    login    to    arbitrary   server   see
  245.        $cfg['AllowArbitraryServer'] directive.
  246.      * See  also  the  requirements  section  for  a  way  to improve the
  247.        interface speed while using this mode.
  248.  
  249.     'config' authentication mode
  250.  
  251.      * This  mode  is the less secure one because it requires you to fill
  252.        the $cfg['Servers'][$i]['user'] and
  253.        $cfg['Servers'][$i]['password'] fields.
  254.        But  you  don't  need  to  setup  a  "controluser" here: using the
  255.        $cfg['Servers'][$i]['only_db'] might be enough.
  256.      * In  the  ISP  FAQ  section,  there  is  an entry explaining how to
  257.        protect your configuration file.
  258.      * For additional security in this mode, you may wish to consider the
  259.        Host  authentication $cfg['Servers'][$i]['AllowDeny']['order'] and
  260.        $cfg['Servers'][$i]['AllowDeny']['rules']            configuration
  261.        directives.
  262.  
  263. Configuration
  264.  
  265.    Warning  for  Mac  users:  PHP  seems  not  to  like  Mac end of lines
  266.    character  ("\r").  So ensure you choose the option that allows to use
  267.    the  *nix  end  of  line  character  ("\n") in your text editor before
  268.    registering a script you have modified.
  269.  
  270.    Configuration   note:  Almost  all  configurable  data  is  placed  in
  271.    config.inc.php.  The  parameters  which relate to design (like colors)
  272.    are  placed in themes/themename/layout.inc.php. You might also want to
  273.    modify  config.footer.inc.php  and  config.header.inc.php files to add
  274.    your site specific code to be included on start and end of each page.
  275.  
  276.    $cfg['PmaAbsoluteUri'] string
  277.           Sets  here the complete URL (with full path) to your phpMyAdmin
  278.           version. E.g.
  279.           http://www.your_web.net/path_to_your_phpMyAdmin_directory/.
  280.           phpMyAdmin  needs  this setting, because of requirements of the
  281.           HTTP protocol, explained in RFC2616, section 14.30.
  282.           Don't  forget  the  slash  at the end of your URL. The URL must
  283.           contain  characters  that  are  valid  for  a  URL, and on some
  284.           servers, the path is case-sensitive.
  285.           Starting  with  version  2.3.0,  you  can  try  to  leave  this
  286.           parameter  empty,  because the program tries to auto-detect its
  287.           proper value. Additional details are in the configuration file.
  288.  
  289.    $cfg['PmaAbsoluteUri_DisableWarning'] boolean
  290.           By  default,  when  you leave $cfg['PmaAbsoluteUri'] empty, and
  291.           the  system detects your absolute URI automatically, we display
  292.           a  warning  to  remind  you.  If  you have tested the automatic
  293.           detection,  and it works perfectly for your setup, then you can
  294.           set this variable to squelch the warning.
  295.  
  296.    $cfg['PmaNoRelation_DisableWarning'] boolean
  297.           Starting with version 2.3.0 phpMyAdmin offers a lot of features
  298.           to    work    with    master    /   foreign   -   tables   (see
  299.           $cfg['Servers'][$i]['pmadb']).
  300.           If  you tried to set this up and it does not work for you, have
  301.           a  look on the "Structure" page of one database where you would
  302.           like  to  use  it.  You  will find a link that will analyze why
  303.           those features have been disabled.
  304.           If  you  do not want to use those features set this variable to
  305.           TRUE to stop this message from appearing.
  306.  
  307.    $cfg['blowfish_secret'] string
  308.           Starting  with  version  2.5.2,  the  'cookie'  auth_type  uses
  309.           blowfish algorithm to encrypt the password.
  310.           If  at  least one server configuration uses 'cookie' auth_type,
  311.           enter  here  a  passphrase  of your choice that will be used by
  312.           blowfish.
  313.  
  314.    $cfg['Servers'] array
  315.           Since  version 1.4.2, phpMyAdmin supports the administration of
  316.           multiple  MySQL servers. Therefore, a $cfg['Servers']-array has
  317.           been  added  which  contains  the  login  information  for  the
  318.           different   servers.   The   first  $cfg['Servers'][$i]['host']
  319.           contains   the   hostname  of  the  first  server,  the  second
  320.           $cfg['Servers'][$i]['host']  the hostname of the second server,
  321.           etc.  If  you  have only one server to administer, simply leave
  322.           free the hostname of the other $cfg['Server']-entries.
  323.  
  324.    $cfg['Servers'][$i]['host'] string
  325.           The  hostname  or  IP  address of your $i-th MySQL-server. E.g.
  326.           localhost.
  327.  
  328.    $cfg['Servers'][$i]['port'] string
  329.           The  port-number  of  your  $i-th MySQL-server. Default is 3306
  330.           (leave  blank).  If  you use "localhost" as the hostname, MySQL
  331.           ignores  this  port  number and connects with the socket, so if
  332.           you  want to connect to a port different from the default port,
  333.           use "127.0.0.1" or the real hostname in
  334.           $cfg['Servers'][$i]['host'].
  335.  
  336.    $cfg['Servers'][$i]['socket'] string
  337.           The path to the socket to use. Leave blank for default.
  338.           To use the socket feature you must run PHP 3.0.10 or more.
  339.  
  340.    $cfg['Servers'][$i]['connect_type'] string
  341.           What type connection to use with the MySQL server. Your options
  342.           are  'socket'  &  'tcp'. It defaults to 'tcp' as that is nearly
  343.           guaranteed  to be available on all MySQL servers, while sockets
  344.           are not supported on some platforms.
  345.           To  use  the socket mode, your MySQL server must be on the same
  346.           machine as the Web server.
  347.  
  348.    $cfg['Servers'][$i]['extension'] string
  349.           What  php  MySQL  extension  to  use  for the connection. Valid
  350.           options are:
  351.           mysql :   The  classic MySQL extension. This is the recommended
  352.           and default method at this time.
  353.           mysqli :   The  improved MySQL extension. This extension became
  354.           available  with php 5.0.0 and is the recommended way to connect
  355.           to a server running MySQL 4.1.x.
  356.           Note: phpMyAdmin's MySQL 4.1 support is experimental!
  357.  
  358.    $cfg['Servers'][$i]['compress'] boolean
  359.           Whether  to  use  a  compressed  protocol  for the MySQL server
  360.           connection or not (experimental).
  361.           This feature requires PHP >= 4.3.0.
  362.  
  363.    $cfg['Servers'][$i]['controluser'] string
  364.           $cfg['Servers'][$i]['controlpass'] string
  365.           Note:   starting   with   phpMyAdmin   2.6.1,  configuring  the
  366.           controluser  to  enable  HTTP and cookie authentication applies
  367.           only to MySQL servers older than 4.1.2.
  368.           This  special  account is used for 2 distinct purposes: to make
  369.           possible all relational features (see
  370.           $cfg['Servers'][$i]['pmadb'])  and,  for  a  MySQL server older
  371.           than 4.1.2, to enable a multi-user installation (http or cookie
  372.           authentication mode).
  373.           When  using  HTTP  or  cookie authentication modes (or 'config'
  374.           authentication mode since phpMyAdmin 2.2.1), you need to supply
  375.           the details of a MySQL account that has SELECT privilege on the
  376.           mysql.user  (all  columns  except  "Password"),  mysql.db  (all
  377.           columns)  &  mysql.tables_priv  (all columns except "Grantor" &
  378.           "Timestamp")  tables.  This  account  is  used  to  check  what
  379.           databases the user will see at login.
  380.           Please  see the install section on "Using authentication modes"
  381.           for more information.
  382.           Note   that   if   you   try  login  to  phpMyAdmin  with  this
  383.           "controluser",  you  could get some errors, depending the exact
  384.           privileges  you  gave to the "controluser". phpMyAdmin does not
  385.           support a direct login with the "controluser".
  386.           In   phpMyAdmin   versions  before  2.2.5,  those  were  called
  387.           "stduser/stdpass".
  388.  
  389.    $cfg['Servers'][$i]['auth_type'] string ['http'|'cookie'|'config']
  390.           Whether  config or cookie or http authentication should be used
  391.           for this server.
  392.  
  393.           + 'config'  authentication ($auth_type = 'config') is the plain
  394.             old way: username and password are stored in config.inc.php.
  395.           + 'cookie'   authentication   mode  ($auth_type = 'cookie')  as
  396.             introduced  in  2.2.3 allows you to log in as any valid MySQL
  397.             user  with  the  help  of  cookies. Log name and password are
  398.             stored  in cookies during the session and password is deleted
  399.             when  it  ends. This can also allow you to login in arbitrary
  400.             server if $cfg['AllowArbitraryServer'] enabled.
  401.           + 'http'   authentication   (was  called  'advanced'  in  older
  402.             versions) ($auth_type = 'http') as introduced in 1.3.0 allows
  403.             you to log in as any valid MySQL user via HTTP-Auth.
  404.  
  405.           Please  see the install section on "Using authentication modes"
  406.           for more information.
  407.  
  408.    $cfg['Servers'][$i]['user'] string
  409.           $cfg['Servers'][$i]['password'] string
  410.           The  user/password-pair which phpMyAdmin will use to connect to
  411.           this  MySQL-server.  This user/password pair is not needed when
  412.           HTTP or cookie authentication is used, and should be empty.
  413.  
  414.    $cfg['Servers'][$i]['only_db'] string or array
  415.           If  set  to a (an array of) database name(s), only this (these)
  416.           database(s)  will be shown to the user. Since phpMyAdmin 2.2.1,
  417.           this/these  database(s)  name(s)  may  contain  MySQL wildcards
  418.           characters  ("_" and "%"): if you want to use literal instances
  419.           of  these  characters,  escape  them (I.E. use 'my\_db' and not
  420.           'my_db').
  421.           This setting is an efficient way to lower the server load since
  422.           the  latter  does  not need to send MySQL requests to build the
  423.           available database list. But it does not replace the privileges
  424.           rules  of the MySQL database server. If set, it just means only
  425.           these  databases  will  be  displayed  but  not  that all other
  426.           databases can't be used.
  427.           An    example    of    using    more    that    one   database:
  428.           $cfg['Servers'][$i]['only_db'] = array('db1', 'db2');
  429.           As  of  phpMyAdmin 2.5.5 the order inside the array is used for
  430.           sorting  the  databases  in  the  left  frame,  so that you can
  431.           individually arrange your databases.
  432.           If  you  want  to  have certain databases at the top, but don't
  433.           care  about  the  others,  you do not need to specify all other
  434.           databases.  Use:  $cfg['Servers'][$i]['only_db'] = array('db3',
  435.           'db4',  '*'); instead to tell phpMyAdmin that it should display
  436.           db3 and db4 on top, and the rest in alphabetic order.
  437.  
  438.    $cfg['Servers'][$i]['verbose'] string
  439.           Only useful when using phpMyAdmin with multiple server entries.
  440.           If  set,  this string will be displayed instead of the hostname
  441.           in  the  pull-down menu on the main page. This can be useful if
  442.           you  want  to  show  only certain databases on your system, for
  443.           example.
  444.  
  445.    $cfg['Servers'][$i]['pmadb'] string
  446.           The   name   of   the  database  containing  the  linked-tables
  447.           infrastructure.
  448.           See  the  Linked-tables infrastructure section in this document
  449.           to see the benefits of this infrastructure, and for a quick way
  450.           of creating this database and the needed tables.
  451.           If  you  are the only user of this phpMyAdmin installation, you
  452.           can use your current database to store those special tables; in
  453.           this   case,   just   put   your   current   database  name  in
  454.           $cfg['Servers'][$i]['pmadb'].  For  a  multi-user installation,
  455.           set  this  parameter  to  the  name  of  your  central database
  456.           containing the linked-tables infrastructure.
  457.  
  458.    $cfg['Servers'][$i]['bookmarktable'] string
  459.           Since release 2.2.0 phpMyAdmin allows to bookmark queries. This
  460.           can be useful for queries you often run.
  461.           To allow the usage of this functionality:
  462.  
  463.           + set up pmadb and the linked-tables infrastructure
  464.           + enter the table name in $cfg['Servers'][$i]['bookmarktable']
  465.  
  466.    $cfg['Servers'][$i]['relation'] string
  467.           Since  release  2.2.4 you can describe, in a special 'relation'
  468.           table,  which  field is a key in another table (a foreign key).
  469.           phpMyAdmin currently uses this to
  470.  
  471.           + make  clickable,  when  you browse the master table, the data
  472.             values that point to the foreign table;
  473.           + display  in  an  optional  tool-tip  the "display field" when
  474.             browsing  the master table, if you move the mouse to a column
  475.             containing a foreign key (use also the 'table_info' table);
  476.             (see FAQ 6.7)
  477.           + in  edit/insert  mode,  display  a drop-down list of possible
  478.             foreign keys (key value and "display field" are shown)
  479.             (see FAQ 6.21)
  480.           + display   links  on  the  table  properties  page,  to  check
  481.             referential integrity (display missing foreign keys) for each
  482.             described key;
  483.           + in query-by-example, create automatic joins (see FAQ 6.6)
  484.           + enable  you  to  get a PDF schema of your database (also uses
  485.             the table_coords table).
  486.  
  487.           The keys can be numeric or character.
  488.           To allow the usage of this functionality:
  489.  
  490.           + set up pmadb and the linked-tables infrastructure
  491.           + put the relation table name in
  492.             $cfg['Servers'][$i]['relation']
  493.           + now  as  normal user open phpMyAdmin and for each one of your
  494.             tables   where   you   want   to   use  this  feature,  click
  495.             "Structure/Relation view/" and choose foreign fields.
  496.  
  497.           Please  note that in the current version, master_db must be the
  498.           same  as  foreign_db.  Those  fields  have  been  put in future
  499.           development of the cross-db relations.
  500.  
  501.    $cfg['Servers'][$i]['table_info'] string
  502.           Since release 2.3.0 you can describe, in a special 'table_info'
  503.           table, which field is to be displayed as a tool-tip when moving
  504.           the cursor over the corresponding key.
  505.           This  configuration variable will hold the name of this special
  506.           table. To allow the usage of this functionality:
  507.  
  508.           + set up pmadb and the linked-tables infrastructure
  509.           + put the table name in $cfg['Servers'][$i]['table_info']
  510.           + then for each table where you want to use this feature, click
  511.             "Structure/Relation  view/Choose  field to display" to choose
  512.             the field.
  513.  
  514.           Usage tip: Display field.
  515.  
  516.    $cfg['Servers'][$i]['table_coords'] string
  517.           $cfg['Servers'][$i]['pdf_pages'] string
  518.           Since  release  2.3.0  you can have phpMyAdmin create PDF pages
  519.           showing  the relations between your tables. To do this it needs
  520.           two tables "pdf_pages" (storing information about the available
  521.           PDF  pages)  and "table_coords" (storing coordinates where each
  522.           table will be placed on a PDF schema output).
  523.           You must be using the "relation" feature.
  524.           To allow the usage of this functionality:
  525.  
  526.           + set up pmadb and the linked-tables infrastructure
  527.           + put the correct table names in
  528.             $cfg['Servers'][$i]['table_coords'] and
  529.             $cfg['Servers'][$i]['pdf_pages']
  530.  
  531.           Usage tips: PDF output.
  532.  
  533.    $cfg['Servers'][$i]['column_info'] string
  534.           Since  release  2.3.0  you  can store comments to describe each
  535.           column  for  each  table.  These  will  then  be  shown  on the
  536.           "printview".
  537.           Starting  with release 2.5.0, comments are consequently used on
  538.           the  table  property pages and table browse view, showing up as
  539.           tool-tips  above  the column name (properties page) or embedded
  540.           within  the  header  of  table in browse view. They can also be
  541.           shown  in  a  table dump. Please see the relevant configuration
  542.           directives later on.
  543.           Also new in release 2.5.0 is a MIME-transformation system which
  544.           is   also   based   on   the  following  table  structure.  See
  545.           Transformations   for   further   information.   To   use   the
  546.           MIME-transformation  system, your column_info table has to have
  547.           the    three    new    fields   'mimetype',   'transformation',
  548.           'transformation_options'.
  549.           To allow the usage of this functionality:
  550.  
  551.           + set up pmadb and the linked-tables infrastructure
  552.           + put the table name in $cfg['Servers'][$i]['column_info']
  553.           + to update your PRE-2.5.0 Column_comments Table use this:
  554.                  ALTER TABLE `pma_column_comments`
  555.                    ADD `mimetype` VARCHAR( 255 ) NOT NULL ,
  556.                    ADD `transformation` VARCHAR( 255 ) NOT NULL ,
  557.                    ADD `transformation_options` VARCHAR( 255 ) NOT NULL ;
  558.             and  remember  that  the  Variable in config.inc.php has been
  559.             renamed from
  560.             $cfg['Servers'][$i]['column_comments']                     to
  561.             $cfg['Servers'][$i]['column_info']
  562.  
  563.    $cfg['Servers'][$i]['history'] string
  564.           Since release 2.5.0 you can store your SQL history, which means
  565.           all queries you entered manually into the phpMyAdmin interface.
  566.           If  you  don't  want to use a table- based history, you can use
  567.           the  JavaScript-based  history.  Using  that,  all your history
  568.           items are deleted when closing the window.
  569.           Using  $cfg['QueryHistoryMax']  you  can  specify  an amount of
  570.           history  items  you  want to have on hold. On every login, this
  571.           list gets cut to the maximum amount.
  572.           The   query   history   is   only  available  if  you  use  the
  573.           JavaScript-based query window, see $cfg['QueryFrame'].
  574.           To allow the usage of this functionality:
  575.  
  576.           + set up pmadb and the linked-tables infrastructure
  577.           + put the table name in $cfg['Servers'][$i]['history']
  578.  
  579.    $cfg['Servers'][$i]['verbose_check'] boolean
  580.           Because  release  2.5.0  introduced the new MIME-transformation
  581.           support,  the  column_info  table  got  enhanced with three new
  582.           fields.  If  the  above  variable  is  set  to  TRUE  (default)
  583.           phpMyAdmin  will  check  if you have the latest table structure
  584.           available. If not, it will emit a warning to the superuser.
  585.           You  can disable this checking behavior by setting the variable
  586.           to false, which should offer a performance increase.
  587.           Recommended  to  set  to  FALSE,  when you are sure, your table
  588.           structure is up to date.
  589.  
  590.    $cfg['Servers'][$i]['AllowRoot'] boolean
  591.           Whether  to  allow  root access, This is just simplification of
  592.           rules below.
  593.  
  594.    $cfg['Servers'][$i]['AllowDeny']['order'] string
  595.           If  your  rule  order  is  empty,  then  IP  authentication  is
  596.           disabled.
  597.           If  your  rule  order  is  set  to 'deny,allow' then the system
  598.           applies  all  deny  rules  followed  by  allow rules. Access is
  599.           allowed  by  default.  Any  client  which does not match a Deny
  600.           command  or  does match an Allow command will be allowed access
  601.           to the server.
  602.           If  your  rule  order  is  set  to 'allow,deny' then the system
  603.           applies  all  allow  rules  followed  by  deny rules. Access is
  604.           denied  by  default.  Any  client which does not match an Allow
  605.           directive  or does match a Deny directive will be denied access
  606.           to the server.
  607.           If  your rule order is set to 'explicit', the authentication is
  608.           performed in a similar fashion to rule order 'deny,allow', with
  609.           the  added restriction that your host/username combination must
  610.           be listed in the allow rules, and not listed in the deny rules.
  611.           This  is  the  most secure means of using Allow/Deny rules, and
  612.           was  available  in  Apache  by  specifying allow and deny rules
  613.           without setting any order.
  614.  
  615.    $cfg['Servers'][$i]['AllowDeny']['rules'] array of strings
  616.           The general format for the rules is as such:
  617.                 <'allow' | 'deny'> <username> [from] <ipmask>
  618.           If  you wish to match all users, it is possible to use a '%' as
  619.           a wildcard in the username field.
  620.           There  are  a  few shortcuts you can use in the ipmask field as
  621.           well:
  622.                'all' -> 0.0.0.0/0
  623.                'localhost' -> 127.0.0.1/8
  624.           Having  an empty rule list is equivalent to either using 'allow
  625.           %  from all' if your rule order is set to 'deny,allow' or 'deny
  626.           %  from  all'  if  your  rule  order  is set to 'allow,deny' or
  627.           'explicit'.
  628.           For the IP matching system, the following work:
  629.           xxx.xxx.xxx.xxx (an exact IP address)
  630.           xxx.xxx.xxx.[yyy-zzz] (an IP address range)
  631.           xxx.xxx.xxx.xxx/nn  (CIDR,  Classless Inter-Domain Routing type
  632.           IP addresses)
  633.           But the following does not work:
  634.           xxx.xxx.xxx.xx[yyy-zzz] (partial IP address range)
  635.  
  636.    $cfg['ServerDefault'] integer
  637.           If  you  have  more  than  one  server  configured, you can set
  638.           $cfg['ServerDefault'] to any one of them to autoconnect to that
  639.           server when phpMyAdmin is started, or set it to 0 to be given a
  640.           list of servers without logging in.
  641.           If  you  have only one server configured, $cfg['ServerDefault']
  642.           MUST be set to that server.
  643.  
  644.    $cfg['OBGzip'] string/boolean
  645.           Defines  whether  to  use  GZip  output buffering for increased
  646.           speed in HTTP transfers.
  647.           Set  to  true/false  for enabling/disabling. When set to 'auto'
  648.           (string),  phpMyAdmin tries to enable output buffering and will
  649.           automatically  disable  it,  if  your browser has some problems
  650.           with buffering. IE6 with a certain patch is known to cause data
  651.           corruption having enabled buffering.
  652.  
  653.    $cfg['PersistentConnections'] boolean
  654.           Whether   persistent   connections   should   be  used  or  not
  655.           (mysql_connect or mysql_pconnect).
  656.  
  657.    $cfg['ExecTimeLimit'] integer [number of seconds]
  658.           Set  the  number  of  seconds  a  script  is allowed to run. If
  659.           seconds is set to zero, no time limit is imposed.
  660.           This  setting  is used while importing/exporting dump files but
  661.           has no effect when PHP is running in safe mode.
  662.  
  663.    $cfg['SkipLockedTables'] boolean
  664.           Mark  used  tables  and make it possible to show databases with
  665.           locked tables (since 3.23.30).
  666.  
  667.    $cfg['ShowSQL'] boolean
  668.           Defines  whether  SQL-queries generated by phpMyAdmin should be
  669.           displayed or not.
  670.  
  671.    $cfg['AllowUserDropDatabase'] boolean
  672.           Defines whether normal users (non-administrator) are allowed to
  673.           delete  their  own  database  or not. If set as FALSE, the link
  674.           "Drop  Database"  will  not be shown, and even a "DROP DATABASE
  675.           mydatabase"  will  be  rejected. Quite practical for ISP's with
  676.           many customers.
  677.  
  678.    $cfg['Confirm'] boolean
  679.           Whether  a  warning  ("Are  your  really  sure...")  should  be
  680.           displayed when you're about to lose data.
  681.  
  682.    $cfg['LoginCookieRecall'] boolean
  683.           Define  whether the previous login should be recalled or not in
  684.           cookie authentication mode.
  685.  
  686.    $cfg['UseDbSearch'] boolean
  687.           Define  whether  the "search string inside database" is enabled
  688.           or not.
  689.  
  690.    $cfg['IgnoreMultiSubmitErrors'] boolean
  691.           Define whether phpMyAdmin will continue executing a multi-query
  692.           statement  if  one  of  the  queries fails. Default is to abort
  693.           execution.
  694.  
  695.    $cfg['VerboseMultiSubmit'] boolean
  696.           Define whether phpMyAdmin will output the results of each query
  697.           of  a  multi-query  statement  embedded  into the SQL output as
  698.           inline comments. Defaults to TRUE.
  699.  
  700.    $cfg['AllowArbitraryServer'] boolean
  701.           If enabled allows you to login to arbitrary server using cookie
  702.           auth.
  703.           NOTE:  Please  use  this carefully, as this may allow to access
  704.           MySQL servers behind firewall where your http server is placed.
  705.  
  706.    $cfg['LeftFrameLight'] boolean
  707.           Defines  whether  to use select-based menu and display only the
  708.           current  tables  in  the  left  frame  (smaller  page). Only in
  709.           Non-Lightmode you can use the feature to display nested folders
  710.           using $cfg['LeftFrameTableSeparator']
  711.  
  712.    $cfg['LeftFrameTableSeparator'] string
  713.           Defines  a  string to be used to nest table spaces. Defaults to
  714.           '__'. This means if you have tables like 'first__second__third'
  715.           this  will  be  shown as a three-level hierarchie like: first >
  716.           second  >  third.  If  set  to  FALSE  or empty, the feature is
  717.           disabled.  NOTE:  You  shall  not use this Separator in a table
  718.           name at the beginning or end of a table name, or multiple times
  719.           after another without any other characters in between.
  720.  
  721.    $cfg['LeftFrameTableLevel'] string
  722.           Defines  how  many sublevels should be displayed when splitting
  723.           up tables by the above Separator.
  724.  
  725.    $cfg['ShowTooltip'] boolean
  726.           Defines  whether  to  display table comment as tool-tip in left
  727.           frame or not.
  728.  
  729.    $cfg['ShowTooltipAliasDB'] boolean
  730.           If  tool-tips  are  enabled  and a DB comment is set, this will
  731.           flip  the  comment and the real name. That means, if you have a
  732.           table called 'user0001' and add the comment 'MyName' on it, you
  733.           will  see the name 'MyName' used consequently in the left frame
  734.           and the tool-tip shows the real name of the DB.
  735.  
  736.    $cfg['ShowTooltipAliasTB'] boolean/string
  737.           Same as $cfg['ShowTooltipAliasDB'], except this works for table
  738.           names.  When  setting  this  to  'nested',  the  Alias  of  the
  739.           Tablename  is  only  used to split/nest the tables according to
  740.           the  $cfg['LeftFrameTableSeparator']  directive.  So  only  the
  741.           folder is called like the Alias, the tablename itself stays the
  742.           real tablename.
  743.  
  744.    $cfg['LeftDisplayLogo'] boolean
  745.           Defines  whether  to  display the phpMyAdmin logo at the top of
  746.           the left frame or not. Defaults to TRUE.
  747.  
  748.    $cfg['LeftDisplayServers'] boolean
  749.           Defines  whether  to  display a server choice at the top of the
  750.           left frame or not. Defaults to FALSE.
  751.  
  752.    $cfg['DisplayServersList'] boolean
  753.           Defines  whether to display this server choice as links instead
  754.           of in a drop-down. Defaults to FALSE (drop-down).
  755.  
  756.    $cfg['ShowStats'] boolean
  757.           Defines  whether  to  display  space usage and statistics about
  758.           databases and tables or not.
  759.           Note  that  statistics requires at least MySQL 3.23.3 and that,
  760.           at  this  date,  MySQL  doesn't  return  such  information  for
  761.           Berkeley DB tables.
  762.  
  763.    $cfg['ShowMysqlInfo'] boolean
  764.           $cfg['ShowMysqlVars'] boolean
  765.           $cfg['ShowPhpInfo'] boolean
  766.           $cfg['ShowChgPassword'] boolean
  767.           Defines  whether  to  display  the "MySQL runtime information",
  768.           "MySQL   system   variables",  "PHP  information"  and  "Change
  769.           password  "  links or not for simple users at the starting main
  770.           (right)  frame.  This  setting  does  not  check MySQL commands
  771.           entered directly.
  772.           Please  note  that  to block the usage of phpinfo() in scripts,
  773.           you have to put this in your php.ini:
  774.               disable_functions = phpinfo()
  775.           Also  note  that  enabling  the  "Change password " link has no
  776.           effect  with  "config" authentication mode: because of the hard
  777.           coded password value in the configuration file, end users can't
  778.           be allowed to change their passwords.
  779.  
  780.    $cfg['SuggestDBName'] boolean
  781.           Defines  whether  to  suggest  a  database  name on the "Create
  782.           Database" form or to keep the textfield empty.
  783.  
  784.    $cfg['ShowBlob'] boolean
  785.           Defines  whether  BLOB fields are shown when browsing a table's
  786.           content or not.
  787.  
  788.    $cfg['NavigationBarIconic'] boolean
  789.           Defines  whether navigation bar buttons contain text or symbols
  790.           only.
  791.  
  792.    $cfg['ShowAll'] boolean
  793.           Defines  whether  an  user  should  be  displayed  a  "show all
  794.           (records)" button in browse mode or not.
  795.  
  796.    $cfg['MaxRows'] integer
  797.           Number  of  rows  displayed  when browsing a result set. If the
  798.           result  set  contains  more  rows,  Previous/Next links will be
  799.           shown.
  800.  
  801.    $cfg['Order'] string [DESC|ASC|SMART]
  802.           Defines  whether fields are displayed in ascending (ASC) order,
  803.           in descending (DESC) order or in a "smart" (SMART) order - I.E.
  804.           descending  order  for  fields  of  type TIME, DATE, DATETIME &
  805.           TIMESTAMP, ascending order else- by default.
  806.  
  807.    $cfg['ProtectBinary'] boolean or string
  808.           Defines  whether  BLOB  or  BINARY  fields  are  protected from
  809.           edition  when  browsing  a table's content or not. Valid values
  810.           are:
  811.           - FALSE to allow edition of all fields;
  812.           - blob to allow edition of all fields except BLOBS;
  813.           - all to disallow edition of all BINARY or BLOB fields.
  814.  
  815.    $cfg['ShowFunctionFields'] boolean
  816.           Defines  whether  MySQL functions fields should be displayed or
  817.           not in edit/insert mode.
  818.  
  819.    $cfg['CharEditing'] string
  820.           Defines  which type of editing controls should be used for CHAR
  821.           and VARCHAR fields. Possible values are:
  822.  
  823.           + input - this allows to limit size of text to size of field in
  824.             MySQL, but has problems with newlines in fields
  825.           + textarea  -  no problems with newlines in fields, but also no
  826.             length limitations
  827.  
  828.           Default is old behavior so input.
  829.  
  830.    $cfg['ZipDump'] boolean
  831.           $cfg['GZipDump'] boolean
  832.           $cfg['BZipDump'] boolean
  833.           Defines  whether to allow the use of zip/GZip/BZip2 compression
  834.           when creating a dump file or not.
  835.  
  836.    $cfg['CompressOnFly'] boolean
  837.           Defines  whether to allow on the fly compression for GZip/BZip2
  838.           compressed  exports.  This  doesn't  affect  smaller  dumps and
  839.           allows  to  create  larger  dumps,  that won't fit otherwise in
  840.           memory  due  to  php  memory limit. Produced files contain more
  841.           GZip/BZip2   headers,  but  all  normal  programs  handle  this
  842.           correctly.
  843.  
  844.    $cfg['LightTabs'] string
  845.           If set to True, do use less graphically intense tabs on the top
  846.           of the mainframe.
  847.  
  848.    $cfg['PropertiesIconic'] string
  849.           If  set  to True, will display icons instead of text for db and
  850.           table  properties  links  (like  'Browse',  'Select', 'Insert',
  851.           ...).
  852.           Can be set to 'both' if you want icons AND text.
  853.           When set to False, will only show text.
  854.  
  855.    $cfg['PropertiesNumColumns'] integer
  856.           How  many columns will be utilized to display the tables on the
  857.           database  property view? Default is 1 column. When setting this
  858.           to  a  value  larger  than  1, the type of the database will be
  859.           omitted for more display space.
  860.  
  861.    $cfg['DefaultTabServer'] string
  862.           Defines  the  tab displayed by default on server view. Possible
  863.           values:   "main.php"   (recommended   for  multi-user  setups),
  864.           "server_databases.php",                    "server_status.php",
  865.           "server_variables.php",        "server_privileges.php"       or
  866.           "server_processlist.php".
  867.  
  868.    $cfg['DefaultTabDatabase'] string
  869.           Defines the tab displayed by default on database view. Possible
  870.           values:    "db_details_structure.php",    "db_details.php"   or
  871.           "db_search.php".
  872.  
  873.    $cfg['DefaultTabTable'] string
  874.           Defines  the  tab  displayed by default on table view. Possible
  875.           values:  "tbl_properties_structure.php",  "tbl_properties.php",
  876.           "tbl_select.php" or "tbl_change.php".
  877.  
  878.    $cfg['MySQLManualBase'] string
  879.           If  set to an URL which points to the MySQL documentation (type
  880.           depends on $cfg['MySQLManualType']), appropriate help links are
  881.           generated.
  882.           See  MySQL  Documentation page for more information about MySQL
  883.           manuals and their types.
  884.  
  885.    $cfg['MySQLManualType'] string
  886.           Type of MySQL documentation:
  887.  
  888.           + old - old style used in phpMyAdmin 2.3.0 and earlier
  889.           + searchable - "Searchable, with user comments"
  890.           + chapters - "HTML, one page per chapter"
  891.           + big - "HTML, all on one page"
  892.           + none - do not show documentation links
  893.  
  894.    $cfg['DefaultLang'] string
  895.           Defines  the default language to use, if not browser-defined or
  896.           user-defined.
  897.           See the select_lang.inc.php script to know the valid values for
  898.           this setting.
  899.  
  900.    $cfg['Lang'] string
  901.           Force:  always  use  this  language  (must  be  defined  in the
  902.           select_lang.inc.php script).
  903.  
  904.    $cfg['DefaultCharset'] string
  905.           Default  character  set  to  use for recoding of MySQL queries.
  906.           This    must    be    enabled    and    it's    described    by
  907.           $cfg['AllowAnywhereRecoding'] option.
  908.           You   can   give   here   any   character   set   which  is  in
  909.           $cfg['AvailableCharsets']   array  and  this  is  just  default
  910.           choice, user can select any of them.
  911.  
  912.    $cfg['AllowAnywhereRecoding'] boolean
  913.           Allow  character set recoding of MySQL queries. You need recode
  914.           or  iconv support (compiled in or module) in PHP to allow MySQL
  915.           queries  recoding  and  used language file must have it enabled
  916.           (by  default  only  these  which  are in Unicode, just to avoid
  917.           losing some characters).
  918.  
  919.    $cfg['RecodingEngine'] string
  920.           You  can select here which functions will be used for character
  921.           set conversion. Possible values are:
  922.  
  923.           + auto  -  automatically  use  available  one  (first is tested
  924.             iconv, then recode)
  925.           + iconv - use iconv or libiconv functions
  926.           + recode - use recode_string function
  927.  
  928.           Default is auto.
  929.  
  930.    $cfg['IconvExtraParams'] string
  931.           Specify  some  parameters for iconv used in charset conversion.
  932.           See iconv documentation for details.
  933.  
  934.    $cfg['AvailableCharsets'] array
  935.           Available character sets for MySQL conversion. You can add your
  936.           own  (any  of  supported by recode/iconv) or remove these which
  937.           you  don't  use.  Character sets will be shown in same order as
  938.           here  listed,  so if you frequently use some of these move them
  939.           to the top.
  940.  
  941.    $cfg['GD2Available'] string
  942.           Specifies  whether  GD >= 2 is available. If yes it can be used
  943.           for MIME transformations.
  944.           Possible values are:
  945.  
  946.           + auto   -  automatically  detect,  this  is  a  bit  expensive
  947.             operation  for  php < 4.3.0 so it is preferred to change this
  948.             according to your server real possibilities
  949.           + yes - GD 2 functions can be used
  950.           + no - GD 2 function cannot be used
  951.  
  952.           Default is auto.
  953.  
  954.    $cfg['LeftWidth'] integer
  955.           Left frame width in pixel. See themes/themename/layout.inc.php.
  956.  
  957.    $cfg['LeftBgColor'] string [HTML color]
  958.           $cfg['RightBgColor'] string [HTML color]
  959.           The  background  colors  (HTML)  used  for both the frames. See
  960.           themes/themename/layout.inc.php.
  961.  
  962.    $cfg['RightBgImage'] string
  963.           The  URI  of  the background image used for the right frame. It
  964.           must be an absolute URI. See themes/themename/layout.inc.php.
  965.  
  966.    $cfg['LeftPointerColor'] string [HTML color]
  967.           The  color  (HTML) used for the pointer in the left frame (does
  968.           not work with Netscape 4). See themes/themename/layout.inc.php.
  969.  
  970.    $cfg['LeftPointerEnable'] boolean
  971.           A value of TRUE activates the left pointer (when LeftFrameLight
  972.           is FALSE).
  973.  
  974.    $cfg['Border'] integer
  975.           The size of a table's border. See
  976.           themes/themename/layout.inc.php.
  977.  
  978.    $cfg['ThBgcolor'] string [HTML color]
  979.           The    color    (HTML)    used    for    table   headers.   See
  980.           themes/themename/layout.inc.php.
  981.  
  982.    $cfg['BgcolorOne'] string [HTML color]
  983.           The color (HTML) #1 for table rows. See
  984.           themes/themename/layout.inc.php.
  985.  
  986.    $cfg['BgcolorTwo'] string [HTML color]
  987.           The color (HTML) #2 for table rows. See
  988.           themes/themename/layout.inc.php.
  989.  
  990.    $cfg['BrowsePointerColor'] string [HTML color]
  991.           $cfg['BrowseMarkerColor'] string [HTML color]
  992.           The colors (HTML) uses for the pointer and the marker in browse
  993.           mode (does not work with Netscape 4).
  994.           The  former feature highlights the row over which your mouse is
  995.           passing  and  the  latter lets you visually mark/unmark rows by
  996.           clicking on them.
  997.           See themes/themename/layout.inc.php.
  998.  
  999.    $cfg['BrowsePointerEnable'] boolean
  1000.           Whether to activate the browse pointer or not.
  1001.  
  1002.    $cfg['BrowseMarkerEnable'] boolean
  1003.           Whether to activate the browse marker or not.
  1004.  
  1005.    $cfg['TextareaCols'] integer
  1006.           $cfg['TextareaRows'] integer
  1007.           $cfg['CharTextareaCols'] integer
  1008.           $cfg['CharTextareaRows'] integer
  1009.           Number of columns and rows for the textareas.
  1010.           This  value will be emphasized (*2) for SQL query textareas and
  1011.           (*1.25) for SQL textareas inside the query window.
  1012.           The  Char*  values  are  used  for CHAR and VARCHAR editing (if
  1013.           configured via $cfg['CharEditing']).
  1014.  
  1015.    $cfg['LongtextDoubleTextarea'] boolean
  1016.           Defines whether textarea for LONGTEXT fields should have double
  1017.           size.
  1018.  
  1019.    $cfg['TextareaAutoSelect'] boolean
  1020.           Defines if the whole textarea of the query box will be selected
  1021.           on click.
  1022.  
  1023.    $cfg['CtrlArrowsMoving'] boolean
  1024.           Enable  Ctrl+Arrows  (Option+Arrows  in  Safari) moving between
  1025.           fields when editing?
  1026.  
  1027.    $cfg['LimitChars'] integer
  1028.           Maximal  number  of  Chars  showed  in any non-numeric field on
  1029.           browse view. Can be turned off by a toggle button on the browse
  1030.           page.
  1031.  
  1032.    $cfg['ModifyDeleteAtLeft'] boolean
  1033.           $cfg['ModifyDeleteAtRight'] boolean
  1034.           Defines  the  place  where modify and delete links would be put
  1035.           when tables contents are displayed (you may have them displayed
  1036.           both  at  the  left  and  at the right). "Left" and "right" are
  1037.           parsed as "top" and "bottom" with vertical display mode.
  1038.  
  1039.    $cfg['DefaultDisplay'] string
  1040.           $cfg['HeaderFlipType'] string
  1041.           There  are  3  display modes: horizontal, horizontalflipped and
  1042.           vertical.  Define  which one is displayed by default. The first
  1043.           mode displays each row on a horizontal line, the second rotates
  1044.           the  headers  by 90 degrees, so you can use descriptive headers
  1045.           even  though  fields  only contain small values and still print
  1046.           them  out.  The  vertical  mode  sorts  each  row on a vertical
  1047.           lineup.
  1048.           The  HeaderFlipType  can be set to 'css' or 'faked'. When using
  1049.           'css'  the rotation of the header for horizontalflipped is done
  1050.           via CSS. If set to 'faked' PHP does the transformation for you,
  1051.           but of course this does not look as good as CSS.
  1052.  
  1053.    $cfg['DefaultPropDisplay'] string
  1054.           When  editing/creating  new  columns  in  a  table  all  fields
  1055.           normally   get   lined   up   one   field   a  line.  (default:
  1056.           'horizontal').  If you set this to 'vertical' you can have each
  1057.           field lined up vertically beneath each other. You can save up a
  1058.           lot  of place on the horizontal direction and no longer have to
  1059.           scroll.
  1060.  
  1061.    $cfg['ShowBrowseComments'] boolean
  1062.           $cfg['ShowPropertyComments'] boolean
  1063.           By  setting  the  corresponding variable to TRUE you can enable
  1064.           the  display  of column comments in Browse or Property display.
  1065.           In  browse  mode,  the  comments are show inside the header. In
  1066.           property  mode,  comments  are  displayed using a CSS-formatted
  1067.           dashed-line  below  the name of the field. The comment is shown
  1068.           as a tool-tip for that field.
  1069.  
  1070.    $cfg['UploadDir'] string
  1071.           The  name  of the directory, where SQL files have been uploaded
  1072.           by  other means than phpMyAdmin (for example, ftp). Those files
  1073.           are available under a drop-down box when you click the database
  1074.           name, then the SQL tab.
  1075.           Please note that the file names must have the suffix ".sql" (or
  1076.           ".sql.bz2"  or  ".sql.gz"  if support for compressed formats is
  1077.           enabled).
  1078.           This feature is useful when your file is too big to be uploaded
  1079.           via HTTP, or when file uploads are disabled in PHP.
  1080.           Please note that if PHP is running in safe mode, this directory
  1081.           must  be  owned by the same user as the owner of the phpMyAdmin
  1082.           scripts.
  1083.  
  1084.    $cfg['docSQLDir'] string
  1085.           The  name  of the directory, where docSQL files can be uploaded
  1086.           for import into phpMyAdmin.
  1087.           Please note that if PHP is running in safe mode, this directory
  1088.           must  be  owned by the same user as the owner of the phpMyAdmin
  1089.           scripts.
  1090.  
  1091.    $cfg['SaveDir'] string
  1092.           The name of the directory, where dumps can be saved.
  1093.           Please  note  that  the  directory  has to be writable for user
  1094.           running webserver.
  1095.           Please note that if PHP is running in safe mode, this directory
  1096.           must  be  owned by the same user as the owner of the phpMyAdmin
  1097.           scripts.
  1098.  
  1099.    $cfg['TempDir'] string
  1100.           The name of the directory, where temporary files can be stored.
  1101.           This is needed for native MS Excel export, see FAQ 6.23
  1102.  
  1103.    $cfg['Export'] array
  1104.           In  this array are defined default parameters for export, names
  1105.           of  items  are similar to texts seen on export page, so you can
  1106.           easily identify what they mean.
  1107.  
  1108.    $cfg['RepeatCells'] integer
  1109.           Repeat the headers every X cells, or 0 to deactivate.
  1110.  
  1111.    $cfg['QueryFrame'] boolean
  1112.           $cfg['QueryFrameJS'] boolean
  1113.           $cfg['QueryWindowWidth'] integer
  1114.           $cfg['QueryWindowHeight'] integer
  1115.           $cfg['QueryHistoryDB'] boolean
  1116.           $cfg['QueryWindowDefTab'] string
  1117.           $cfg['QueryHistoryMax'] integer
  1118.           All   those  variables  affect  the  query  box  feature.  When
  1119.           $cfg['QueryFrame']  is set to true, a link or icon is displayed
  1120.           on the left panel. Clicking on it opens the query box, a direct
  1121.           interface to enter SQL queries.
  1122.           When $cfg['QueryFrameJS'] is set to true, clicking on that link
  1123.           opens  the  query  box,  a  new  custom  sized  browser  window
  1124.           ($cfg['QueryWindowWidth'],   $cfg['QueryWindowWidth']   -  both
  1125.           integers  for the size in pixels). Also, a click on [Edit] from
  1126.           the  results  page  (in  the  "Showing Rows" section) opens the
  1127.           query  box  and  puts  the  current  query inside it. If set to
  1128.           false,  clicking  on  the  link only opens the SQL input in the
  1129.           main frame.
  1130.           The  usage of the JavaScript query window is recommended if you
  1131.           have  a JavaScript enabled browser. Basic functions are used to
  1132.           exchange quite a few variables, so most 4th generation browsers
  1133.           should  be  capable  to  use that feature. It currently is only
  1134.           tested with Internet Explorer 6 and Mozilla 1.x.
  1135.           If  $cfg['QueryHistoryDB'] is set to TRUE, all your Queries are
  1136.           logged  to  a  table,  which  has  to  be  created  by you (see
  1137.           $cfg['Servers'][$i]['history']).  If  set  to  FALSE,  all your
  1138.           queries  will be appended to the form, but only as long as your
  1139.           window is opened they remain saved.
  1140.           When  using  the  JavaScript based query window, it will always
  1141.           get updated when you click on a new table/db to browse and will
  1142.           focus  if  you click on "Edit SQL" after using a query. You can
  1143.           suppress  updating the query window by checking the box "Do not
  1144.           overwrite  this  query from outside the window" below the query
  1145.           textarea.   Then   you   can  browse  tables/databases  in  the
  1146.           background without losing the contents of the textarea, so this
  1147.           is  especially  useful  when  composing a query with tables you
  1148.           first  have  to  look  in.  The checkbox will get automatically
  1149.           checked  whenever  you  change  the  contents  of the textarea.
  1150.           Please  uncheck  the  button  whenever  you definitely want the
  1151.           query   window  to  get  updated  even  though  you  have  made
  1152.           alterations.
  1153.           If  $cfg['QueryHistoryDB']  is  set to TRUE you can specify the
  1154.           amount of saved history items using $cfg['QueryHistoryMax'].
  1155.           The  query  window  also  has a custom tabbed look to group the
  1156.           features.  Using the variable $cfg['QueryWindowDefTab'] you can
  1157.           specify  the  default  tab  to  be  used when opening the query
  1158.           window.  It  can  be set to either 'sql', 'files', 'history' or
  1159.           'full'.
  1160.  
  1161.    $cfg['BrowseMIME'] boolean
  1162.           Enable MIME-transformations.
  1163.  
  1164.    $cfg['MaxExactCount'] integer
  1165.           Determines for how large tables phpMyAdmin should get exact row
  1166.           count by SELECT COUNT. If approximate row count is smaller than
  1167.           this  value,  SELECT  COUNT  will be used, otherwise only value
  1168.           returned  by  SHOW  TABLE  STATUS. This has currently an impact
  1169.           only on InnoDB tables.
  1170.  
  1171.    $cfg['WYSIWYG-PDF'] boolean
  1172.           Utilizes  a WYSIWYG editing control to easily place elements of
  1173.           a  PDF page. By clicking on the button 'toggle scratchboard' on
  1174.           the  page  where you edit x/y coordinates of those elements you
  1175.           can activate a scratchboard where all your elements are placed.
  1176.           By  clicking  on  an  element,  you can move them around in the
  1177.           pre-defined  area  and  the  x/y  coordinates  will get updated
  1178.           dynamically.  Likewise,  when  entering a new position directly
  1179.           into  the  input  field,  the  new position in the scratchboard
  1180.           changes after your cursor leaves the input field.
  1181.           You  have  to click on the 'OK'-button below the tables to save
  1182.           the  new  positions.  If you want to place a new element, first
  1183.           add  it  to the table of elements and then you can drag the new
  1184.           element around.
  1185.           By  changing  the paper size and the orientation you can change
  1186.           the  size  of  the  scratchboard as well. You can do so by just
  1187.           changing  the  dropdown  field below, and the scratchboard will
  1188.           resize  automatically,  without  interfering  with  the current
  1189.           placement of the elements.
  1190.           If ever an element gets out of range you can either enlarge the
  1191.           paper size or click on the 'reset' button to place all elements
  1192.           below each other.
  1193.           NOTE:  You  have to use a recent browser like IE6 or Mozilla to
  1194.           get   this   control   to  work.  The  basic  Drag&Drop  script
  1195.           functionality  was kindly borrowed from www.youngpup.net and is
  1196.           underlying so specific license.
  1197.  
  1198.    $cfg['NaturalOrder'] boolean
  1199.           Sorts  database and table names according to natural order (for
  1200.           example,  t1, t2, t10). Currently implemented in the left panel
  1201.           (Light mode) and in Database view, for the table list.
  1202.  
  1203.    $cfg['ShowHttpHostTitle'] boolean
  1204.           Shows the HTTP host name in window's title bar.
  1205.  
  1206.    $cfg['SetHttpHostTitle'] string
  1207.           If  $cfg['ShowHttpHostTitle']  is  TRUE, it shows the real HTTP
  1208.           host name, unless an alternate name is set here.
  1209.  
  1210.    $cfg['ErrorIconic'] boolean
  1211.           Uses icons for warnings, errors and informations.
  1212.  
  1213.    $cfg['MainPageIconic'] boolean
  1214.           Uses  icons  on main page in lists, on right panel top menu and
  1215.           menu tabs.
  1216.  
  1217.    $cfg['ReplaceHelpImg'] boolean
  1218.           Shows a help button instead of the "Documentation" message.
  1219.  
  1220.    $cfg['ThemePath'] string
  1221.           If  theme  manager  is  active,  use  this  as  the path of the
  1222.           subdirectory containing all the themes.
  1223.  
  1224.    $cfg['ThemeManager'] boolean
  1225.           Enables user-selectable themes. See FAQ 2.7.
  1226.  
  1227.    $cfg['ThemeDefault'] string
  1228.           The default theme (a subdirectory under cfg['ThemePath']).
  1229.  
  1230.    $cfg['DefaultQueryTable'] string
  1231.    $cfg['DefaultQueryDatabase'] string
  1232.           Default queries that will be displayed in query boxes when user
  1233.           didn't specify any. Use %d for database name, %t for table name
  1234.           and  %f for a comma separated list of field names. Note that %t
  1235.           and %f are only applicable to $cfg['DefaultQueryTable'].
  1236.  
  1237.    $cfg['SQP']['fmtType'] string [html|none]
  1238.           The  main  use  of  the  new  SQL Parser is to pretty-print SQL
  1239.           queries.  By  default  we use HTML to format the query, but you
  1240.           can disable this by setting this variable to 'none'.
  1241.  
  1242.    $cfg['SQP']['fmtInd'] float
  1243.           $cfg['SQP']['fmtIndUnit'] string [em|px|pt|ex]
  1244.           For  the  pretty-printing  of SQL queries, under some cases the
  1245.           part  of  a  query  inside  a  bracket is indented. By changing
  1246.           $cfg['SQP']['fmtInd'] you can change the amount of this indent.
  1247.           Related in purpose is $cfg['SQP']['fmtIndUnit'] which specifies
  1248.           the units of the indent amount that you specified. This is used
  1249.           via stylesheets.
  1250.  
  1251.    $cfg['SQP']['fmtColor'] array of string tuples
  1252.           This  array  is  used  to  define  the colours for each type of
  1253.           element of the pretty-printed SQL queries. The tuple format is
  1254.           class => [HTML colour code | empty string]
  1255.           If  you specify an empty string for the color of a class, it is
  1256.           ignored  in  creating  the stylesheet. You should not alter the
  1257.           class names, only the colour strings.
  1258.           Class name key:
  1259.  
  1260.           + comment Applies to all comment sub-classes
  1261.           + comment_mysql Comments as "#...\n"
  1262.           + comment_ansi Comments as "-- ...\n"
  1263.           + comment_c Comments as "/*...*/"
  1264.           + digit Applies to all digit sub-classes
  1265.           + digit_hex Hexadecimal numbers
  1266.           + digit_integer Integer numbers
  1267.           + digit_float Floating point numbers
  1268.           + punct Applies to all punctuation sub-classes
  1269.           + punct_bracket_open_round Opening brackets"("
  1270.           + punct_bracket_close_round Closing brackets ")"
  1271.           + punct_listsep List item Separator ","
  1272.           + punct_qualifier Table/Column Qualifier "."
  1273.           + punct_queryend End of query marker ";"
  1274.           + alpha Applies to all alphabetic classes
  1275.           + alpha_columnType Identifiers matching a column type
  1276.           + alpha_columnAttrib        Identifiers        matching       a
  1277.             database/table/column attribute
  1278.           + alpha_functionName Identifiers matching a MySQL function name
  1279.           + alpha_reservedWord  Identifiers  matching  any other reserved
  1280.             word
  1281.           + alpha_variable Identifiers matching a SQL variable "@foo"
  1282.           + alpha_identifier All other identifiers
  1283.           + quote Applies to all quotation mark classes
  1284.           + quote_double Double quotes "
  1285.           + quote_single Single quotes '
  1286.           + quote_backtick Backtick quotes `
  1287.  
  1288.    $cfg['SQLValidator']['use'] boolean
  1289.           phpMyAdmin now supports use of the Mimer SQL Validator service,
  1290.           as originally published on Slashdot.
  1291.           For  help in setting up your system to use the service, see the
  1292.           FAQ #6.14.
  1293.  
  1294.    $cfg['SQLValidator']['username'] string
  1295.           $cfg['SQLValidator']['password'] string
  1296.           The  SOAP  service  allows  you to login with anonymous and any
  1297.           password,  so  we use those by default. Instead, if you have an
  1298.           account  with them, you can put your login details here, and it
  1299.           will be used in place of the anonymous login.
  1300.  
  1301.    $cfg['DBG']['enable'] boolean
  1302.           DEVELOPERS ONLY!
  1303.           Enable the DBG extension for debugging phpMyAdmin. Required for
  1304.           profiling the code.
  1305.           For  help in setting up your system to this, see the Developers
  1306.           section.
  1307.  
  1308.    $cfg['DBG']['profile']['enable'] boolean
  1309.           DEVELOPERS ONLY!
  1310.           Enable  profiling  support  for  phpMyAdmin. This will append a
  1311.           chunk  of  data  to the end of every page displayed in the main
  1312.           window with profiling statistics for that page.
  1313.           You may need to increase the maximum execution time for this to
  1314.           complete successfully.
  1315.  
  1316.    $cfg['DBG']['profile']['threshold'] float (units in milliseconds)
  1317.           DEVELOPERS ONLY!
  1318.           When  profiling  data  is displayed, this variable controls the
  1319.           threshold  of  display  for  any  profiling  data, based on the
  1320.           average  time  each time has taken. If it is over the threshold
  1321.           it  is  displayed,  otherwise it is not displayed. This takes a
  1322.           value  in  milliseconds.  In  most cases you don't need to edit
  1323.           this.
  1324.  
  1325.    $cfg['ColumnTypes'] array
  1326.           All  possible  types of a MySQL column. In most cases you don't
  1327.           need to edit this.
  1328.  
  1329.    $cfg['AttributeTypes'] array
  1330.           Possible attributes for fields. In most cases you don't need to
  1331.           edit this.
  1332.  
  1333.    $cfg['Functions'] array
  1334.           A  list  of  functions  MySQL supports. In most cases you don't
  1335.           need to edit this.
  1336.  
  1337.    $cfg['RestrictColumnTypes'] array
  1338.           Mapping  of  column  types  to  meta  types used for preferring
  1339.           displayed functions. In most cases you don't need to edit this.
  1340.  
  1341.    $cfg['RestrictFunctions'] array
  1342.           Functions  preferred  for  column  meta  types  as  defined  in
  1343.           $cfg['RestrictColumnTypes'].  In  most  cases you don't need to
  1344.           edit this.
  1345.  
  1346.    $cfg['DefaultFunctions'] array
  1347.           Functions  selected  by  default  when  insering/changing  row,
  1348.           Functions     are     defined     for     meta    types    from
  1349.           $cfg['RestrictColumnTypes']  and  for first_timestamp, which is
  1350.           used for first timestamp column in table.
  1351.  
  1352.    $cfg['NumOperators'] array
  1353.           Operators  available  for search operations on numeric and date
  1354.           fields.
  1355.  
  1356.    $cfg['TextOperators'] array
  1357.           Operators  available for search operations on character fields.
  1358.           Note  that  we  put  LIKE  by default instead of LIKE %...%, to
  1359.           avoid unintended performance problems in case of huge tables.
  1360.  
  1361.    $cfg['EnumOperators'] array
  1362.           Operators available for search operations on enum fields.
  1363.  
  1364.    $cfg['NullOperators'] array
  1365.           Additionnal  operators available for search operations when the
  1366.           field can be null.
  1367.  
  1368. Transformations
  1369.  
  1370.    Introduction  -  Usage  -  File structure
  1371.  
  1372.   [1. Introduction]
  1373.  
  1374.    To enable transformations, you have to setup the column_info table and
  1375.    the  proper directives. Please see the Configuration section on how to
  1376.    do so.
  1377.  
  1378.    You can apply different transformations to the contents of each field.
  1379.    The  transformation  will take the content of each field and transform
  1380.    it with certain rules defined in the selected transformation.
  1381.  
  1382.    Say  you  have  a field 'filename' which contains a filename. Normally
  1383.    you  would see in phpMyAdmin only this filename. Using transformations
  1384.    you  can  transform  that  filename into a HTML link, so you can click
  1385.    inside  of  the  phpMyAdmin structure on the field's link and will see
  1386.    the  file  displayed  in  a  new  browser window. Using transformation
  1387.    options  you can also specify strings to append/prepend to a string or
  1388.    the format you want the output stored in.
  1389.  
  1390.    For  a  general  overview  of  all available transformations and their
  1391.    options, you can consult your
  1392.    <www.your-host.com>/<your-install-dir>/libraries/transformations/overv
  1393.    iew.php installation.
  1394.  
  1395.    For a tutorial on how to effectively use transformations, see our Link
  1396.    section on the official phpMyAdmin-homepage.
  1397.  
  1398.   [2. Usage]
  1399.  
  1400.    Go  to your tbl_properties.inc.php page (i.e. reached through clicking
  1401.    on  the  'properties'  link  for a table). There click on "Change" (or
  1402.    change icon) and there you will see three new fields at the end of the
  1403.    line.  They  are  called  'MIME-type',  'Browser  transformation'  and
  1404.    'Transformation options'.
  1405.      * The field 'MIME-type' is a dropdown field. You have the options to
  1406.        leave  that  field empty or to use 'auto' [this feature is not yet
  1407.        available].  Please note that transformations are inactive as long
  1408.        as no MIME-type is selected.
  1409.      * The  field  'Browser transformation' is a drop-down field. You can
  1410.        choose   from   a   hopefully   growing   amount   of  pre-defined
  1411.        transformations.  See  below  for information on how to build your
  1412.        own transformation.
  1413.        There    are    global    transformations    and    mimetype-bound
  1414.        transformations.  Global  transformations  can  be  used  for  any
  1415.        mimetype.  They will take the mimetype, if necessary, into regard.
  1416.        Mimetype-bound  transformations  usually only operate on a certain
  1417.        mimetype.  There  are  transformations  which  operate on the main
  1418.        mimetype  (like  'image'), which will most likely take the subtype
  1419.        into  regard,  and  those  who  only operate on a specific subtype
  1420.        (like 'image/jpeg').
  1421.        You  can  use  transformations on mimetypes for which the function
  1422.        was  not  defined for. There is no security check for you selected
  1423.        the  right transformation, so take care of what the output will be
  1424.        like.
  1425.      * The  field  'Transformation options' is a free-type textfield. You
  1426.        have  to  enter  transform-function specific options here. Usually
  1427.        the  transforms  can  operate  with  default  options,  but  it is
  1428.        generally a good idea to look up the overview to see which options
  1429.        are necessary.
  1430.        Much  like  the  ENUM/SET-Fields,  you  have  to  split up several
  1431.        options using the format 'a','b','c',...(NOTE THE MISSING BLANKS).
  1432.        This is because internally the options will be parsed as an array,
  1433.        leaving  the  first  value  the first element in the array, and so
  1434.        forth.
  1435.        If  you  want to specify a MIME character set you can define it in
  1436.        the  transformation_options.  You  have to put that outside of the
  1437.        pre-defined  options  of  the specific mime-transform, as the last
  1438.        value  of  the set. Use the format "'; charset=XXX'". If you use a
  1439.        transform,  for  which  you  can specify 2 options and you want to
  1440.        append   a   character   set,   enter  "'first  parameter','second
  1441.        parameter','charset=us-ascii'".  You can, however use the defaults
  1442.        for the parameters: "'','','charset=us-ascii'".
  1443.  
  1444.   [3. File structure]
  1445.  
  1446.    All  mimetypes  and  their  transformations are defined through single
  1447.    files in the directory 'libraries/transformations/'.
  1448.  
  1449.    They  are  stored in files to ease up customization and easy adding of
  1450.    new transformations.
  1451.  
  1452.    Because  the  user  cannot  enter  own mimetypes, it is kept sure that
  1453.    transformations   always   work.   It   makes  no  sense  to  apply  a
  1454.    transformation  to  a mimetype, the transform-function doesn't know to
  1455.    handle.
  1456.  
  1457.    One  can,  however,  use  empty  mime-types and global transformations
  1458.    which should work for many mimetypes. You can also use transforms on a
  1459.    different  mimetype  they where built for, but pay attention to option
  1460.    usage as well as what the transformation does to your field.
  1461.  
  1462.    There  is  a  basic file called 'global.inc.php'. This function can be
  1463.    included  by  any  other  transform  function  and provides some basic
  1464.    functions.
  1465.  
  1466.    There are 5 possible file names:
  1467.     1. A mimetype+subtype transform:
  1468.        [mimetype]_[subtype]__[transform].inc.php
  1469.        Please  not that mimetype and subtype are separated via '_', which
  1470.        shall   not   be   contained   in   their   names.  The  transform
  1471.        function/filename  may  contain  only  characters  which  cause no
  1472.        problems  in  the  file  system as well as the PHP function naming
  1473.        convention.
  1474.        The transform function will the be called
  1475.        'PMA_transform_[mimetype]_[subtype]__[transform]()'.
  1476.        Example:
  1477.        text_html__formatted.inc.php
  1478.        PMA_transform_text_html__formatted()
  1479.     2. A mimetype (w/o subtype) transform:
  1480.        [mimetype]__[transform].inc.php
  1481.        Please note that there are no single '_' characters. The transform
  1482.        function/filename  may  contain  only  characters  which  cause no
  1483.        problems  in  the  file  system as well as the PHP function naming
  1484.        convention.
  1485.        The transform function will the be called
  1486.        'PMA_transform_[mimetype]__[transform]()'.
  1487.        Example:
  1488.        text__formatted.inc.php
  1489.        PMA_transform_text__formatted()
  1490.     3. A mimetype+subtype without specific transform function
  1491.        [mimetype]_[subtype].inc.php
  1492.        Please  note that there are no '__' characters in the filename. Do
  1493.        not  use  special characters in the filename causing problems with
  1494.        the file system.
  1495.        No transformation function is defined in the file itself.
  1496.        Example:
  1497.        text_plain.inc.php
  1498.        (No function)
  1499.     4. A mimetype (w/o subtype) without specific transform function
  1500.        [mimetype].inc.php
  1501.        Please  note  that there are no '_' characters in the filename. Do
  1502.        not  use  special characters in the filename causing problems with
  1503.        the file system.
  1504.        No transformation function is defined in the file itself.
  1505.        Example:
  1506.        text.inc.php
  1507.        (No function)
  1508.     5. A global transform function with no specific mimetype
  1509.        global__[transform].inc.php
  1510.        The transform function will the be called
  1511.        'PMA_transform_global__[transform]()'.
  1512.        Example:
  1513.        global__formatted
  1514.        PMA_transform_global__formatted()
  1515.  
  1516.    So  generally  use  '_'  to split up mimetype and subtype, and '__' to
  1517.    provide a transform function.
  1518.  
  1519.    All  filenames containing no '__' in themselves are not shown as valid
  1520.    transform functions in the dropdown.
  1521.  
  1522.    Please see the libraries/transformations/TEMPLATE file for adding your
  1523.    own transform function. See the
  1524.    libraries/transformations/TEMPLATE_MIMETYPE   for  adding  a  mimetype
  1525.    without a transform function. Also note the introduction of a function
  1526.    description   in   the   language   files.   For   each   function   a
  1527.    $strTransformation_[filename without .inc.php] has to exist.
  1528.  
  1529.    You  can  use  the  template  generator  to generate new functions and
  1530.    entries in the language file.
  1531.  
  1532.    To     create     a     new     transform    function    please    see
  1533.    libraries/transformations/template_generator.sh.   To  create  a  new,
  1534.    empty mimetype please see
  1535.    libraries/transformations/template_generator_mimetype.sh.
  1536.  
  1537.    A transform function always gets passed three variables:
  1538.     1. $buffer  -  Contains  the  text  inside of the column. This is the
  1539.        text, you want to transform.
  1540.     2. $options  -  Contains  any  user-passed  options  to  a  transform
  1541.        function as an array.
  1542.     3. $meta  - Contains an object with field information to your column.
  1543.        The  data  is  drawn  from  the  output of the mysql_fetch_field()
  1544.        function.  This  means,  all  object  properties  described on the
  1545.        manual  page  are  available  in  this variable and can be used to
  1546.        transform  a  field  accordingly to unsigned/zerofill/not_null/...
  1547.        properties.
  1548.        The  $meta->mimetype  variable  contains the original MIME-type of
  1549.        the field (i.e. 'text/plain', 'image/jpeg' etc.)
  1550.  
  1551. FAQ - Frequently Asked Questions
  1552.  
  1553.    Server   -   Configuration  -  Limitations  -  Multi-user  -  Browsers
  1554.    -  Usage tips  -  Project  -  Security
  1555.  
  1556.    Please  have  a  look  at  our Link section on the official phpMyAdmin
  1557.    homepage   for  in-depth  coverage  of  phpMyAdmin's  features  and/or
  1558.    interface.
  1559.  
  1560.   [1. Server]
  1561.  
  1562.     [1.1] I'm running PHP 4+ and my server is crashing each time a specific
  1563.     action is required or phpMyAdmin sends a blank page or a page full of
  1564.     cryptic characters to my browser, what can I do?
  1565.  
  1566.    There are some known PHP bugs with output buffering and compression.
  1567.    Try   to   set   the   $cfg['OBGzip']   directive  to  FALSE  in  your
  1568.    config.inc.php  file  and the zlib.output_compression directive to Off
  1569.    in your php configuration file.
  1570.    Furthermore,  we  know  about  such  problems connected to the release
  1571.    candidates  of  PHP  4.2.0 (tested with PHP 4.2.0 RC1 to RC4) together
  1572.    with  MS  Internet Explorer. Please upgrade to the release version PHP
  1573.    4.2.0.
  1574.  
  1575.     [1.2] My Apache server crashes when using phpMyAdmin.
  1576.  
  1577.    You  should  first  try  the  latest  versions of Apache (and possibly
  1578.    MySQL).
  1579.    See also the other FAQ entry about PHP bugs with output buffering.
  1580.    If  your  server  keeps  crashing,  please ask for help in the various
  1581.    Apache support groups.
  1582.  
  1583.     [1.3] I'm running phpMyAdmin with "cookie" authentication mode under PHP
  1584.     4.2.0 or 4.2.1 loaded as an Apache 2+ module but can't enter the script:
  1585.     I'm always displayed the login screen.
  1586.  
  1587.    This  is  a  known PHP bug (see this bug report) from the official PHP
  1588.    bug  database.  It  means  there  is  and  won't be any phpMyAdmin fix
  1589.    against it because there is no way to code a fix.
  1590.  
  1591.     [1.4] Using phpMyAdmin on IIS, I'm displayed the error message: "The
  1592.     specified CGI application misbehaved by not returning a complete set of
  1593.     HTTP headers...".
  1594.  
  1595.    You   just   forgot   to  read  the  install.txt  file  from  the  php
  1596.    distribution.  Have a look at the last message in this bug report from
  1597.    the official PHP bug database.
  1598.  
  1599.     [1.5] Using phpMyAdmin on IIS, I'm facing crashes and/or many error
  1600.     messages with the HTTP or advanced authentication mode.
  1601.  
  1602.    This is a known problem with the PHP ISAPI filter: it's not so stable.
  1603.    For  some  more  information  and  complete  testings see the messages
  1604.    posted  by AndrΘ B. aka "djdeluxe76" in this thread from the phpWizard
  1605.    forum.
  1606.    Please use instead the cookie authentication mode.
  1607.  
  1608.     [1.6] I can't use phpMyAdmin on PWS: nothing is displayed!
  1609.  
  1610.    This  seems  to be a PWS bug. Filippo Simoncini found a workaround (at
  1611.    this  time  there  is  no  better  fix): remove or comment the DOCTYPE
  1612.    declarations    (2    lines)    from   the   scripts   header.inc.php,
  1613.    header_printview.inc.php,        index.php,        left.php        and
  1614.    libraries/common.lib.php.
  1615.  
  1616.     [1.7] How can I GZip or Bzip a dump or a CSV export. It does not seem to
  1617.     work.
  1618.  
  1619.    These  features  are  based  on  the  gzencode()  and bzcompress() PHP
  1620.    functions  to  be more independent of the platform (Unix/Windows, Safe
  1621.    Mode  or  not,  and  so  on).  So,  you  must  have  PHP4 >= 4.0.4 and
  1622.    Zlib/Bzip2 support (--with-zlib and --with-bz2).
  1623.    We  faced  PHP crashes when trying to download a dump with MS Internet
  1624.    Explorer when phpMyAdmin is run with a release candidate of PHP 4.2.0.
  1625.    In this case you should switch to the release version of PHP 4.2.0.
  1626.  
  1627.     [1.8] I cannot insert a text file in a table, and I get an error about safe
  1628.     mode being in effect.
  1629.  
  1630.    Your  uploaded file is saved by PHP in the "upload dir", as defined in
  1631.    php.ini  by the variable upload_tmp_dir (usually the system default is
  1632.    /tmp).
  1633.    We  recommend  the  following setup for Apache servers running in safe
  1634.    mode, to enable uploads of files while being reasonably secure:
  1635.      * create a separate directory for uploads: mkdir /tmp/php
  1636.      * give   ownership   to   the   Apache  server's  user.group:  chown
  1637.        apache.apache /tmp/php
  1638.      * give proper permission: chmod 600 /tmp/php
  1639.      * put upload_tmp_dir = /tmp/php in php.ini
  1640.      * restart Apache
  1641.  
  1642.     [1.9] I'm having troubles when uploading files. In general file uploads
  1643.     don't work on my system and uploaded files have a Content-Type: header in
  1644.     the first line.
  1645.  
  1646.    It's  not  really phpMyAdmin related but RedHat 7.0. You have a RedHat
  1647.    7.0  and  you  updated your PHP RPM to php-4.0.4pl1-3.i386.rpm, didn't
  1648.    you?
  1649.    So  the  problem  is  that  this  package  has  a serious bug that was
  1650.    corrected  ages  ago in PHP (2001-01-28: see PHP's bug tracking system
  1651.    for  more  details).  The  problem is that the bugged package is still
  1652.    available  though  it  was  corrected  (see RedHat's BugZilla for more
  1653.    details).
  1654.    So  please  download  the  fixed  package (4.0.4pl1-9) and the problem
  1655.    should go away.
  1656.    And that fixes the \r\n problem with file uploads!
  1657.  
  1658.     [1.10] I'm having troubles when uploading files with phpMyAdmin running on
  1659.     a secure server. My browser is Internet Explorer and I'm using the Apache
  1660.     server.
  1661.  
  1662.    As  suggested by "Rob M" in the phpWizard forum, add this line to your
  1663.    httpd.conf:
  1664.        SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
  1665.    It seems to clear up many problems between Internet Explorer and SSL.
  1666.  
  1667.     [1.11] I get an 'open_basedir restriction' while uploading a file from the
  1668.     query box.
  1669.  
  1670.    Since  version  2.2.4,  phpMyAdmin  supports servers with open_basedir
  1671.    restrictions.  Assuming  that the restriction allows you to open files
  1672.    in  the  current directory ('.'), all you have to do is create a 'tmp'
  1673.    directory under the phpMyAdmin install directory, with permissions 777
  1674.    and  the  same  owner  as  the owner of your phpMyAdmin directory. The
  1675.    uploaded  files  will  be moved there, and after execution of your SQL
  1676.    commands, removed.
  1677.  
  1678.     [1.12] I have lost my MySQL root password, what can I do?
  1679.  
  1680.    The MySQL manual explains how to reset the permissions.
  1681.  
  1682.     [1.13] I get an error 'No SQL query' when trying to execute a bookmark.
  1683.  
  1684.    If  PHP  does  not  have  read/write  access to its upload_tmp_dir, it
  1685.    cannot access the uploaded query.
  1686.  
  1687.     [1.14] I get an error 'No SQL query' when trying to submit a query from the
  1688.     convenient text area.
  1689.  
  1690.    Check the post_max_size directive from your PHP configuration file and
  1691.    try to increase it.
  1692.  
  1693.     [1.15] I have problems with mysql.user field names.
  1694.  
  1695.    In  older MySQL versions, the User and Password fields were named user
  1696.    and  password.  Please  modify  your field names to align with current
  1697.    standards.
  1698.  
  1699.     [1.16] I cannot upload big dump files (memory, http or timeout problems).
  1700.  
  1701.    The first things to check (or ask your host provider to check) are the
  1702.    values  of  upload_max_filesize, memory_limit and post_max_size in the
  1703.    php.ini configuration file.
  1704.    All of these three settings limit the maximum size of data that can be
  1705.    submitted  and  handled  by PHP. One user also said that post_max_size
  1706.    and memory_limit need to be larger than upload_max_filesize.
  1707.    If you get a timeout problem, look at the $cfg['UploadDir'] feature.
  1708.  
  1709.     [1.17] Which MySQL versions does phpMyAdmin support?
  1710.  
  1711.    All  MySQL versions from 3.23.32 till 5.0 (except for 4.1.0 and 4.1.1)
  1712.    are fully supported. Please note that the older your MySQL version is,
  1713.    the more limitations you will have to face.
  1714.    phpMyAdmin  may connect to your MySQL server using php's classic MySQL
  1715.    extension  as  well  as  the improved MySQL extension (MySQLi) that is
  1716.    available in php 5.0.
  1717.    Either  way,  the  developers  of both extensions recommend to use the
  1718.    classic extension for MySQL 4.0 and below and MySQLi for MySQL 4.1 and
  1719.    newer.
  1720.    When  compiling  php, we strongly recommend that you manually link the
  1721.    MySQL  extension  of your choice to a MySQL client library of at least
  1722.    the  same  minor  version  since the one that is bundled with some php
  1723.    distributions  is  rather  old  and might cause problems (see also FAQ
  1724.    1.17a).
  1725.    MySQL 5.1 is not yet supported.
  1726.  
  1727.     [1.17a] I cannot connect to the MySQL server. It always returns the error
  1728.     message, "Client does not support authentication protocol requested by
  1729.     server; consider upgrading MySQL client"
  1730.  
  1731.    You  tried  to  access  MySQL  with  an  old MySQL client library. The
  1732.    version  of your MySQL client library can be checked in your phpinfo()
  1733.    output.
  1734.    In  general,  it  should  have at least the same minor version as your
  1735.    server - as mentioned in FAQ 1.17.
  1736.    The  only  way  to  fix this problem is manually compiling php and its
  1737.    MySQL extension against a current MySQL client library.
  1738.    If  you  still  face  this  problem,  please compile your MySQL client
  1739.    library against the same or a newer MySQL release.
  1740.  
  1741.     [1.18] I'm running MySQL <= 4.0.1 having lower_case_table_names set to 1.
  1742.     If I create a new table with a capital letter in its name it is changed to
  1743.     lowercase as it should. But if I try to DROP this table MySQL is unable to
  1744.     find the corresponding file.
  1745.  
  1746.    This   is  a  bug  of  MySQL <= 4.0.1.  Please  upgrade  to  at  least
  1747.    MySQL 4.0.2 or turn off your lower_case_table_names directive.
  1748.  
  1749.     [1.19] I can't run the "display relations" feature because the script seems
  1750.     not to know the font face I'm using!
  1751.  
  1752.    The  "FPDF" library we're using for this feature requires some special
  1753.    files to use font faces.
  1754.    Please refers to the FPDF manual to build these files.
  1755.  
  1756.     [1.20] I receive the error "cannot load MySQL extension, please check PHP
  1757.     Configuration".
  1758.  
  1759.    To  connect  to  a  MySQL  server,  PHP needs a set of MySQL functions
  1760.    called  "MySQL  extension".  This  extension  may  be  part of the PHP
  1761.    distribution   (compiled-in),   otherwise   it   needs  to  be  loaded
  1762.    dynamically.   Its   name   is  probably  mysql.so  or  php_mysql.dll.
  1763.    phpMyAdmin tried to load the extension but failed.
  1764.    Usually, the problem is solved by installing a software package called
  1765.    "PHP-MySQL" or something similar.
  1766.  
  1767.     [1.21] I am running the CGI version of PHP under Unix, and I cannot login
  1768.     using cookie auth.
  1769.  
  1770.    In php.ini, set mysql.max_links higher than 1.
  1771.  
  1772.     [1.22] I don't see the "Location of text file" field, so I cannot upload.
  1773.  
  1774.    This is most likely because in php.ini, your file_uploads parameter is
  1775.    not set to "on".
  1776.  
  1777.     [1.23] I'm running MySQL on a Win32 machine. Each time I create a new table
  1778.     the table and field names are changed to lowercase!
  1779.  
  1780.    This   happens  because  the  MySQL  directive  lower_case_table_names
  1781.    defaults  to 1 (ON) in the Win32 version of MySQL. You can change this
  1782.    behavior by simply changing the directive to 0 (OFF):
  1783.    Just  edit  your  my.ini  file  that should be located in your Windows
  1784.    directory and add the following line to the group [mysqld]:
  1785.    set-variable = lower_case_table_names=0
  1786.    Next,  save  the  file  and  restart the MySQL service. You can always
  1787.    check the value of this directive using the query
  1788.    SHOW VARIABLES LIKE 'lower_case_table_names';
  1789.  
  1790.     [1.24] Some characters are being truncated in my queries, or I get
  1791.     characters randomly added. I am running PHP 4.2.3.
  1792.  
  1793.    This is a PHP 4.2.3 bug.
  1794.  
  1795.     [1.25] I am running Apache with mod_gzip-1.3.26.1a on Windows XP, and I get
  1796.     problems, such as undefined variables when I run a SQL query.
  1797.  
  1798.    A  tip  from  Jose Fandos: put a comment on the following two lines in
  1799.    httpd.conf, like this:
  1800.    # mod_gzip_item_include file \.php$
  1801.    # mod_gzip_item_include mime "application/x-httpd-php.*"
  1802.    as  this version of mod_gzip on Apache (Windows) has problems handling
  1803.    PHP scripts. Of course you have to restart Apache.
  1804.  
  1805.     [1.26] I just installed phpMyAdmin in my document root of IIS but I get the
  1806.     error "No input file specified" when trying to run phpMyAdmin.
  1807.  
  1808.    This is a permission problem. Right-click on the phpmyadmin folder and
  1809.    choose  properties.  Under the tab Security, click on "Add" and select
  1810.    the  user "IUSR_machine" from the list. Now set his permissions and it
  1811.    should work.
  1812.  
  1813.     [1.27] I get empty page when I want to view huge page (eg.
  1814.     db_details_structure.php with plenty of tables).
  1815.  
  1816.    This is a PHP bug that occur when GZIP output buffering is enabled. If
  1817.    you  turn  off  it  (by  $cfg['OBGzip'] = FALSE in config.inc.php), it
  1818.    should work. This bug will be fixed in PHP 5.0.0.
  1819.  
  1820.     [1.28] My MySQL server sometimes refuses queries and returns the message
  1821.     'Errorcode: 13'. What does this mean?
  1822.  
  1823.    This  can happen due to a MySQL bug when having database / table names
  1824.    with  upper  case characters although lower_case_table_names is set to
  1825.    1.  To  fix  this,  turn  off this directive, convert all database and
  1826.    table names to lower case and turn it on again. Alternatively, there's
  1827.    a bug-fix available starting with MySQL 3.23.56 / 4.0.11-gamma.
  1828.  
  1829.     [1.29] When I create a table or modify a field, I get an error and the
  1830.     fields are duplicated.
  1831.  
  1832.    It is possible to configure Apache in such a way that PHP has problems
  1833.    interpreting .php files.
  1834.    The  problems  occur  when  two  different  (and  conflicting)  set of
  1835.    directives are used:
  1836.    SetOutputFilter PHP
  1837.    SetInputFilter PHP
  1838.    &
  1839.    AddType application/x-httpd-php .php
  1840.    In    the    case   we   saw,   one   set   of   directives   was   in
  1841.    /etc/httpd/conf/httpd.conf,    while    the    other    set   was   in
  1842.    /etc/httpd/conf/addon-modules/php.conf.
  1843.    The recommended way is with AddType, so just comment out the first set
  1844.    of lines and restart Apache:
  1845.    #SetOutputFilter PHP
  1846.    #SetInputFilter PHP
  1847.    
  1848.     [1.30] I get the error "left.php: Missing hash".
  1849.  
  1850.    This  problem  is  known  to  happen  when the server is running Turck
  1851.    MMCache but upgrading MMCache to version 2.3.21 solves the problem.
  1852.  
  1853.     [1.31] Does phpMyAdmin support php5?
  1854.  
  1855.    Yes.
  1856.    However,  phpMyAdmin needs to be backwards compatible to php4. This is
  1857.    why  you  won't  be  able to run phpMyAdmin having enabled E_STRICT in
  1858.    your error_reporting settings.
  1859.  
  1860.   [2. Configuration]
  1861.  
  1862.     [2.1] The error message "Warning: Cannot add header information - headers
  1863.     already sent by ..." is displayed, what's the problem?
  1864.  
  1865.    Edit  your  config.inc.php  or  .php  file and ensure there is nothing
  1866.    (I.E.  no blank lines, no spaces, no characters...) neither before the
  1867.    <?php tag at the beginning, neither after the ?> tag at the end.
  1868.  
  1869.     [2.2] phpMyAdmin can't connect to MySQL. What's wrong?
  1870.  
  1871.    Either there is an error with your PHP setup or your username/password
  1872.    is  wrong. Try to make a small script which uses mysql_connect and see
  1873.    if  it works. If it doesn't, it may be you haven't even compiled MySQL
  1874.    support into PHP.
  1875.  
  1876.     [2.3] The error message "Warning: MySQL Connection Failed: Can't connect to
  1877.     local MySQL server through socket '/tmp/mysql.sock' (111)..." is displayed.
  1878.     What can I do?
  1879.  
  1880.    For RedHat users, Harald Legner suggests this on the mailing list:
  1881.    On  my RedHat-Box the socket of MySQL is /var/lib/mysql/mysql.sock. In
  1882.    your php.ini you will find a line
  1883.        mysql.default_socket = /tmp/mysql.sock
  1884.    change it to
  1885.        mysql.default_socket = /var/lib/mysql/mysql.sock
  1886.    Then restart apache and it will work.
  1887.    Here is a fix suggested by Brad Ummer in the phpwizard forum:
  1888.      * First, you need to determine what socket is being used by MySQL.
  1889.        To  do  this,  telnet  to  your  server  and  go  to the MySQL bin
  1890.        directory.  In  this  directory  there  should  be  a  file  named
  1891.        mysqladmin.  Type ./mysqladmin variables, and this should give you
  1892.        a  bunch  of  info  about  your MySQL server, including the socket
  1893.        (/tmp/mysql.sock, for example).
  1894.      * Then, you need to tell PHP to use this socket.
  1895.        Assuming  you  are using PHP 3.0.10 or better, you can specify the
  1896.        socket  to  use  when  you  open  the  connection.  To  do this in
  1897.        phpMyAdmin,  you  need  to  complete the socket information in the
  1898.        config.inc.php.
  1899.        For example: $cfg['Servers'][$i]['socket'] = '/tmp/mysql.sock';
  1900.        Please  also  make sure that the permissions of this file allow to
  1901.        be readable by your webserver (i.e. '0755').
  1902.  
  1903.    Have   also   a  look  at  the  corresponding  section  of  the  MySQL
  1904.    documentation.
  1905.  
  1906.     [2.4] Nothing is displayed by my browser when I try to run phpMyAdmin, what
  1907.     can I do?
  1908.  
  1909.    Try  to  set  the  $cfg['OBGZip'] directive to FALSE in the phpMyAdmin
  1910.    configuration file. It helps sometime.
  1911.    Also  have a look at your PHP version number: if it contains "4.0b..."
  1912.    it  means  you're  running a beta version of PHP. That's not a so good
  1913.    idea, please upgrade to a plain revision.
  1914.  
  1915.     [2.5] Each time I want to insert or change a record or drop a database or a
  1916.     table, an error 404 (page not found) is displayed or, with HTTP or cookie
  1917.     authentication, I'm asked to login again. What's wrong?
  1918.  
  1919.    Check  the  value  you set for the $cfg['PmaAbsoluteUri'] directive in
  1920.    the phpMyAdmin configuration file.
  1921.  
  1922.     [2.6] I get an "Access denied for user: 'root@localhost' (Using password:
  1923.     YES)"-error when trying to access a MySQL-Server on a host which is
  1924.     port-forwarded for my localhost.
  1925.  
  1926.    When  you  are  using a port on your localhost, which you redirect via
  1927.    port-forwarding  to another host, MySQL is not resolving the localhost
  1928.    as expected.
  1929.    Erik  Wasser  explains:  The  solution is: if your host is "localhost"
  1930.    MySQL  (the  commandline tool 'mysql' as well) always tries to use the
  1931.    socket  connection  for  speeding  up things. And that doesn't work in
  1932.    this configuration with port forwarding.
  1933.    If  you  enter  "127.0.0.1" as hostname, everything is right and MySQL
  1934.    uses the TCP connection.
  1935.  
  1936.     [2.7] Using and creating themes
  1937.  
  1938.    Themes are configured with $cfg['ThemePath'], $cfg['ThemeManager'] and
  1939.    $cfg['ThemeDefault'].
  1940.    Under   $cfg['ThemePath'],   you   should  not  delete  the  directory
  1941.    "original"  or  its  underlying  structure, because this is the system
  1942.    theme  used  by phpMyAdmin. "original" contains all images and styles,
  1943.    for  backwards compatibility and for all themes that would not include
  1944.    images or css-files.
  1945.    If $cfg['ThemeManager'] is enabled, you can select your favorite theme
  1946.    on the main page. Your selected theme will be stored in a cookie.
  1947.  
  1948.    To create a theme:
  1949.      * make  a  new  subdirectory  (for  example "your_theme_name") under
  1950.        $cfg['ThemePath'] (by default themes)
  1951.      * copy    the    files    and   directories   from   "original"   to
  1952.        "your_theme_name"
  1953.      * edit the css-files in "your_theme_name/css"
  1954.      * put your new images in "your_theme_name/img"
  1955.      * edit layout.inc.php in "your_theme_name"
  1956.      * edit  info.inc.php  in  "your_theme_name"  to  contain your chosen
  1957.        theme name, that will be visible in user interface
  1958.      * make   a   new   screenshot  of  your  theme  and  save  it  under
  1959.        "your_theme_name/screen.png"
  1960.  
  1961.    In  theme  directory  there  is file info.inc.php which contains theme
  1962.    verbose  name,  theme generation and theme version. These versions and
  1963.    generations  are  enumerated  from  1  and  do  not  have  any  direct
  1964.    dependance on phpMyAdmin version. Themes within same generation should
  1965.    be  backwards  compatible  -  theme  with  version  2  should  work in
  1966.    phpMyAdmin  requiring  version 1. Themes with different generation are
  1967.    incompatible.
  1968.  
  1969.    If  you  do  not  want to use your own symbols and buttons, remove the
  1970.    directory  "img" in "your_theme_name". phpMyAdmin will use the default
  1971.    icons and buttons (from the system-theme "original").
  1972.  
  1973.   [3. Known limitations]
  1974.  
  1975.     [3.1] When using HTTP authentication, an user who logged out can not
  1976.     relogin in with the same nick.
  1977.  
  1978.    This  is  related  to  the authentication mechanism (protocol) used by
  1979.    phpMyAdmin.  To bypass this problem: just close all the opened browser
  1980.    windows  and  then go back to phpMyAdmin. You should be able to log in
  1981.    again.
  1982.  
  1983.     [3.2] When dumping a large table in compressed mode, I get a memory limit
  1984.     error or a time limit error.
  1985.  
  1986.    Compressed  dumps  are built in memory and because of this are limited
  1987.    to  php's  memory  limit.  For GZip/BZip2 exports this can be overcome
  1988.    since  2.5.4  using  $cfg['CompressOnFly']  (enabled  by default). Zip
  1989.    exports  can  not  be  handled  this way, so if you need Zip files for
  1990.    larger dump, you have to use another way.
  1991.  
  1992.     [3.3] With InnoDB tables, I lose foreign key relationships when I rename or
  1993.     alter a table.
  1994.  
  1995.    This seems to be a InnoDB bug (fixed in MySQL 3.23.50?).
  1996.  
  1997.     [3.4] I am unable to import dumps I created with the mysqldump tool bundled
  1998.     with the MySQL server distribution.
  1999.  
  2000.    The problem is that mysqldump creates invalid comments like this:
  2001. -- MySQL dump 8.22
  2002. --
  2003. -- Host: localhost Database: database
  2004. ---------------------------------------------------------
  2005. -- Server version 3.23.54
  2006.  
  2007.    The  invalid  part  of  the code is the horizontal line made of dashes
  2008.    that appears once in every dump created with mysqldump. If you want to
  2009.    run  your  dump  you have to turn it into valid MySQL. This means, you
  2010.    have to add a whitespace after the first two dashes of the line or add
  2011.    a # before it:
  2012.    -- -------------------------------------------------------
  2013.    or
  2014.    #---------------------------------------------------------
  2015.  
  2016.     [3.5] When using nested folders ($cfg['LeftFrameTableSeparator']) there are
  2017.     some multiple hierarchies displayed in a wrong manner?!
  2018.  
  2019.    Please  note  that  you  should not use the separating string multiple
  2020.    times  without any characters between them, or at the beginning/end of
  2021.    your   table   name.  If  you  have  to,  think  about  using  another
  2022.    TableSeparator or disabling that feature
  2023.  
  2024.     [3.6] What is currently not supported in phpMyAdmin about InnoDB?
  2025.  
  2026.    In Relation view, being able to choose a table in another database, or
  2027.    having more than one index field in the foreign key.
  2028.    In  Query-by-example  (Query),  automatic generation of the query LEFT
  2029.    JOIN from the foreign table.
  2030.    In PDF schema editing, automatic layout.
  2031.  
  2032.     [3.7] I have table with many (100+) fields and when I try to browse table I
  2033.     get series of errors like "Warning: unable to parse url". How can this be
  2034.     fixed?
  2035.  
  2036.    Your  table  neither  have a primary key nor an unique one, so we must
  2037.    use  a  long  expression to identify this row. This causes problems to
  2038.    parse_url  function.  The  workaround is to create a primary or unique
  2039.    key.
  2040.  
  2041.     [3.8] I cannot use (clickable) HTML-forms in fields where I put a
  2042.     MIME-Transformation onto!
  2043.  
  2044.    Due to a surrounding form-container (for multi-row delete checkboxes),
  2045.    no  nested forms can be put inside the table where phpMyAdmin displays
  2046.    the  results. You can, however, use any form inside of a table if keep
  2047.    the  parent  form-container  with the target to tbl_row_delete.php and
  2048.    just  put  your  own input-elements inside. If you use a custom submit
  2049.    input field, the form will submit itself to the displaying page again,
  2050.    where  you can validate the $HTTP_POST_VARS in a transformation. For a
  2051.    tutorial  on  how  to  effectively  use  transformations, see our Link
  2052.    section on the official phpMyAdmin-homepage.
  2053.  
  2054.     [3.9] I get error messages when using "--sql_mode=ANSI" for the MySQL
  2055.     server
  2056.  
  2057.    When MySQL is running in ANSI-compatibility mode, there are some major
  2058.    differences in how SQL is structured (see
  2059.    http://dev.mysql.com/doc/mysql/en/ANSI_mode.html).  Most  important of
  2060.    all,  the  quote-character  (")  is interpreted as an identifier quote
  2061.    character  and  not  as  a  string  quote  character, which makes many
  2062.    internal  phpMyAdmin  operations into invalid SQL statements. There is
  2063.    no  workaround  to this behaviour. News to this item will be posted in
  2064.    Bug report #816858
  2065.  
  2066.     [3.10] Homonyms and no primary key: When the results of a SELECT display
  2067.     more that one column with the same value (for example SELECT lastname from
  2068.     employees where firstname like 'A%' and two "Smith" values are displayed),
  2069.     if I click Edit I cannot be sure that I am editing the intended row.
  2070.  
  2071.    Please make sure that your table has a primary key, so that phpMyAdmin
  2072.    can use it for the Edit and Delete links.
  2073.  
  2074.     [3.11] The number of records for InnoDB tables is not correct.
  2075.  
  2076.    phpMyAdmin  uses  a quick method to get the row count, and this method
  2077.    only  returns  an  approximate count in the case of InnoDB tables. See
  2078.    $cfg['MaxExactCount']  for  a  way  to  modify those results, but this
  2079.    could have a serious impact on performance.
  2080.  
  2081.   [4. ISPs, multi-user installations ]
  2082.  
  2083.     [4.1] I'm an ISP. Can I setup one central copy of phpMyAdmin or do I need
  2084.     to install it for each customer.
  2085.  
  2086.    Since  version  2.0.3,  you can setup a central copy of phpMyAdmin for
  2087.    all  your  users. The development of this feature was kindly sponsored
  2088.    by  NetCologne  GmbH.  This  requires  a  properly  setup  MySQL  user
  2089.    management  and  phpMyAdmin  HTTP  or  cookie  authentication. See the
  2090.    install section on "Using HTTP authentication".
  2091.  
  2092.     [4.2] What's the preferred way of making phpMyAdmin secure against evil
  2093.     access.
  2094.  
  2095.    This depends on your system.
  2096.    If  you're  running a server which cannot be accessed by other people,
  2097.    it's  sufficient  to  use  the  directory protection bundled with your
  2098.    webserver (with Apache you can use .htaccess files, for example).
  2099.    If  other  people  have  telnet  access to your server, you should use
  2100.    phpMyAdmin's HTTP authentication feature.
  2101.    Suggestions:
  2102.      * Your config.inc.php file should be chmod 660.
  2103.      * All  your  phpMyAdmin files should be chown -R phpmy.apache, where
  2104.        phpmy is a user whose password is only known to you, and apache is
  2105.        the group under which Apache runs.
  2106.      * You should use PHP safe mode, to protect from other users that try
  2107.        to include your config.inc.php in their scripts.
  2108.  
  2109.     [4.3] I get errors about not being able to include a file in /lang or in
  2110.     /libraries.
  2111.  
  2112.    Check php.ini, or ask your sysadmin to check it. The include_path must
  2113.    contain  "."  somewhere in it, and open_basedir, if used, must contain
  2114.    "." and "./lang" to allow normal operation of phpMyAdmin.
  2115.  
  2116.     [4.4] phpMyAdmin always gives "Access denied" when using HTTP
  2117.     authentication.
  2118.  
  2119.    This could happen for several reasons:
  2120.      * $cfg['Servers'][$i]['controluser']                          and/or
  2121.        $cfg['Servers'][$i]['controlpass'] are wrong.
  2122.      * The username/password you specify in the login-dialog are invalid.
  2123.      * You   have   already   setup   a   security   mechanism   for  the
  2124.        phpMyAdmin-directory,  eg.  a .htaccess file. This would interfere
  2125.        with phpMyAdmin's authentication, so remove it.
  2126.  
  2127.     [4.5] Is it possible to let users create their own databases?
  2128.  
  2129.    Starting  with  2.2.5,  in  the  user management page, you can enter a
  2130.    wildcard  database  name  for a user (for example "joe%"), and put the
  2131.    privileges  you  want.  For  example,  adding  SELECT, INSERT, UPDATE,
  2132.    DELETE,  CREATE,  DROP,  INDEX,  ALTER  would let a user create/manage
  2133.    his/her database(s).
  2134.  
  2135.     [4.6] How can I use the Host-based authentication additions?
  2136.  
  2137.    If  you  have  existing rules from an old .htaccess file, you can take
  2138.    them and add a username between the 'deny'/'allow' and 'from' strings.
  2139.    Using  the  username  wildcard of '%' would be a major benefit here if
  2140.    your  installation  is suited to using it. Then you can just add those
  2141.    updated   lines   into  the  $cfg['Servers'][$i]['AllowDeny']['rules']
  2142.    array.
  2143.    If you want a pre-made sample, you can try this fragment. It stops the
  2144.    'root'  user  from logging in from any networks other than the private
  2145.    network IP blocks.
  2146.        //block root from logging in except from the private networks
  2147.        $cfg['Servers'][$i]['AllowDeny']['order'] = 'deny,allow';
  2148.        $cfg['Servers'][$i]['AllowDeny']['rules'] = array(
  2149.            'deny root from all',
  2150.            'allow root from localhost',
  2151.            'allow root from 10.0.0.0/8',
  2152.            'allow root from 192.168.0.0/16',
  2153.            'allow root from 172.16.0.0/12',
  2154.            );
  2155.  
  2156.     [4.7] Authentication window is displayed more than once, why?
  2157.  
  2158.    This  happens  if  you  are  using  a URL to start phpMyAdmin which is
  2159.    different  than  the  one  set  in  your  $cfg['PmaAbsoluteUri'].  For
  2160.    example,  a  missing  "www",  or  entering  with an IP address while a
  2161.    domain name is defined in the config file.
  2162.  
  2163.   [5. Browsers or client OS]
  2164.  
  2165.     [5.1] I get an out of memory error, and my controls are non-functional,
  2166.     when trying to create a table with more than 14 fields.
  2167.  
  2168.    We  could  reproduce this problem only under Win98/98SE. Testing under
  2169.    WinNT4 or Win2K, we could easily create more than 60 fields.
  2170.    A  workaround  is to create a smaller number of fields, then come back
  2171.    to your table properties and add the other fields.
  2172.  
  2173.     [5.2] With Xitami 2.5b4, phpMyAdmin won't process form fields.
  2174.  
  2175.    This  is  not a phpMyAdmin problem but a Xitami known bug: you'll face
  2176.    it with each script/website that use forms.
  2177.    Upgrade or downgrade your Xitami server.
  2178.  
  2179.     [5.3] I have problems dumping tables with Konqueror (phpMyAdmin 2.2.2).
  2180.  
  2181.    With  Konqueror 2.1.1: plain dumps, zip and GZip dumps work ok, except
  2182.    that  the  proposed  file  name for the dump is always 'tbl_dump.php'.
  2183.    Bzip2 dumps don't seem to work.
  2184.    With  Konqueror 2.2.1: plain dumps work; zip dumps are placed into the
  2185.    user's  temporary  directory,  so  they  must  be moved before closing
  2186.    Konqueror, or else they disappear. GZip dumps give an error message.
  2187.    Testing needs to be done for Konqueror 2.2.2.
  2188.  
  2189.     [5.4] I can't use the cookie authentication mode because Internet Explorer
  2190.     never stores the cookies.
  2191.  
  2192.    MS  Internet Explorer seems to be really buggy about cookies, at least
  2193.    till  version  6. And thanks to Andrew Zivolup we've traced also a PHP
  2194.    4.1.1 bug in this area!
  2195.    Then,  if  you're running PHP 4.1.1, try to upgrade or downgrade... it
  2196.    may work!
  2197.  
  2198.     [5.5] In Internet Explorer 5.0, I get JavaScript errors when browsing my
  2199.     rows.
  2200.  
  2201.    Upgrade to at least Internet Explorer 5.5 SP2.
  2202.  
  2203.     [5.6] In Internet Explorer 5.0, 5.5 or 6.0, I get an error (like "Page not
  2204.     found") when trying to modify a row in a table with many fields, or with a
  2205.     text field
  2206.  
  2207.    Your  table  neither  have a primary key nor an unique one, so we must
  2208.    use a long URL to identify this row. There is a limit on the length of
  2209.    the  URL  in  those  browsers,  and  this  not happen in Netscape, for
  2210.    example.  The  workaround is to create a primary or unique key, or use
  2211.    another browser.
  2212.  
  2213.     [5.7] I refresh (reload) my browser, and come back to the welcome page.
  2214.  
  2215.    Some  browsers  support  right-clicking  into  the  frame  you want to
  2216.    refresh, just do this in the right frame.
  2217.  
  2218.     [5.8] With Mozilla 0.9.7 I have problems sending a query modified in the
  2219.     query box.
  2220.  
  2221.    Looks  like a Mozilla bug: 0.9.6 was OK. We will keep an eye on future
  2222.    Mozilla versions.
  2223.  
  2224.     [5.9] With Mozilla 0.9.? to 1.0 and Netscape 7.0-PR1 I can't type a
  2225.     whitespace in the SQL-Query edit area: the page scrolls down.
  2226.  
  2227.    This is a Mozilla bug (see bug #26882 at BugZilla).
  2228.  
  2229.     [5.10] With Netscape 4.75 I get empty rows between each row of data in a
  2230.     CSV exported file.
  2231.  
  2232.    This  is  a  known  Netscape  4.75  bug:  it adds some line feeds when
  2233.    exporting  data  in  octet-stream  mode.  Since  we  can't  detect the
  2234.    specific Netscape version, we cannot workaround this bug.
  2235.  
  2236.     [5.11] Extended-ASCII characters like German umlauts are displayed wrong.
  2237.  
  2238.    Please  ensure  that  you have set your browser's character set to the
  2239.    one of the language file you have selected on phpMyAdmin's start page.
  2240.    Alternatively,  you  can try the auto detection mode that is supported
  2241.    by the recent versions of the most browsers.
  2242.  
  2243.     [5.12] Apple OS X: Safari browser changes special characters to "?".
  2244.  
  2245.    This  issue  has  been reported by a OS X user, who adds that Chimera,
  2246.    Netscape and Mozilla do not have this problem.
  2247.  
  2248.     [5.13] With Internet Explorer 5.5 or 6, and HTTP authentication type, I
  2249.     cannot manage two servers: I login to the first one, then the other one,
  2250.     but if I switch back to the first, I have to login on each operation.
  2251.  
  2252.    This  is a bug in Internet Explorer, other browsers do not behave this
  2253.    way.
  2254.  
  2255.     [5.14] Using Opera6, I can manage to get to the authentication, but nothing
  2256.     happens after that, only a blank screen.
  2257.  
  2258.    Having  $cfg['QueryFrameJS']  set  to  TRUE,  this  leads  to a bug in
  2259.    Opera6,  because  it  is  not  able to interpret frameset definitiions
  2260.    written by JavaScript. Please upgrade to Opera7 at least.
  2261.  
  2262.     [5.15] I have display problems with Safari.
  2263.  
  2264.    Please upgrade to at least version 1.2.3.
  2265.  
  2266.   [6. Using phpMyAdmin]
  2267.  
  2268.     [6.1] I can't insert new rows into a table / I can't create a table - MySQL
  2269.     brings up a SQL-error.
  2270.  
  2271.    Examine  the  SQL  error  with  care.  Often  the problem is caused by
  2272.    specifying a wrong field-type.
  2273.    Common errors include:
  2274.      * Using VARCHAR without a size argument
  2275.      * Using TEXT or BLOB with a size argument
  2276.  
  2277.    Also,  look  at the syntax chapter in the MySQL manual to confirm that
  2278.    your syntax is correct.
  2279.  
  2280.     [6.2] When I create a table, I click the Index checkbox for 2 fields and
  2281.     phpMyAdmin generates only one index with those 2 fields.
  2282.  
  2283.    In   phpMyAdmin  2.2.0  and  2.2.1,  this  is  the  way  to  create  a
  2284.    multi-fields index. If you want two indexes, create the first one when
  2285.    creating  the table, save, then display the table properties and click
  2286.    the Index link to create the other index.
  2287.  
  2288.     [6.3] How can I insert a null value into my table?
  2289.  
  2290.    Since  version  2.2.3,  you have a checkbox for each field that can be
  2291.    null.  Before  2.2.3,  you had to enter "null", without the quotes, as
  2292.    the  field's  value. Since version 2.5.5, you have to use the checkbox
  2293.    to get a real NULL value, so if you enter "NULL" this means you want a
  2294.    literal NULL in the field, and not a NULL value (this works in PHP4).
  2295.  
  2296.     [6.4] How can I backup my database or table?
  2297.  
  2298.    Click  on  a  database or table name in the left frame, the properties
  2299.    will  be displayed. Then on the menu, click "Export", you can dump the
  2300.    structure,  the  data,  or  both.  This  will  generate  standard  SQL
  2301.    statements that can be used to recreate your database/table.
  2302.    You  will  need  to  choose  "Save  as  file",  so that phpMyAdmin can
  2303.    transmit  the  resulting  dump  to your station. Depending on your PHP
  2304.    configuration, you will see options to compress the dump. See also the
  2305.    $cfg['ExecTimeLimit'] configuration variable.
  2306.    For  additional help on this subject, look for the word "dump" in this
  2307.    document.
  2308.  
  2309.     [6.5] How can I restore (upload) my database or table using a dump? How can
  2310.     I run a ".sql" file.
  2311.  
  2312.    Click  on  a  database  name in the left frame, the properties will be
  2313.    local  displayed.  Then  in  the "Run SQL query" section, type in your
  2314.    dump filename, or use the Browse button. Then click Go.
  2315.    For  additional  help  on  this subject, look for the word "upload" in
  2316.    this document.
  2317.  
  2318.     [6.6] How can I use the relation table in Query-by-example?
  2319.  
  2320.    Here  is  an example with the tables persons, towns and countries, all
  2321.    located  in the database mydb. If you don't have a pma_relation table,
  2322.    create  it  as explained in the configuration section. Then create the
  2323.    example tables:
  2324.         CREATE TABLE REL_countries (
  2325.           country_code char(1) NOT NULL default '',
  2326.           description varchar(10) NOT NULL default '',
  2327.           PRIMARY KEY (country_code)
  2328.         ) TYPE=MyISAM;
  2329.         INSERT INTO REL_countries VALUES ('C', 'Canada');
  2330.         CREATE TABLE REL_persons (
  2331.           id tinyint(4) NOT NULL auto_increment,
  2332.           person_name varchar(32) NOT NULL default '',
  2333.           town_code varchar(5) default '0',
  2334.           country_code char(1) NOT NULL default '',
  2335.           PRIMARY KEY (id)
  2336.         ) TYPE=MyISAM;
  2337.         INSERT INTO REL_persons VALUES (11, 'Marc', 'S', '');
  2338.         INSERT INTO REL_persons VALUES (15, 'Paul', 'S', 'C');
  2339.         CREATE TABLE REL_towns (
  2340.           town_code varchar(5) NOT NULL default '0',
  2341.           description varchar(30) NOT NULL default '',
  2342.           PRIMARY KEY (town_code)
  2343.         ) TYPE=MyISAM;
  2344.         INSERT INTO REL_towns VALUES ('S', 'Sherbrooke');
  2345.         INSERT INTO REL_towns VALUES ('M', 'MontrΘal');
  2346.    To setup appropriate links and display information:
  2347.      * on table "REL_persons" click Structure, then Relation view
  2348.      * in Links, for "town_code" choose "REL_towns->code"
  2349.      * in Links, for "country_code" choose "REL_countries->country_code"
  2350.      * on table "REL_towns" click Structure, then Relation view
  2351.      * in "Choose field to display", choose "description"
  2352.      * repeat the two previous steps for table "REL_countries"
  2353.  
  2354.    Then test like this:
  2355.      * Click on your db name in the left frame
  2356.      * Choose "Query"
  2357.      * Use tables: persons, towns, countries
  2358.      * Click "Update query"
  2359.      * In the fields row, choose persons.person_name and click the "Show"
  2360.        tickbox
  2361.      * Do  the  same  for towns.description and countries.descriptions in
  2362.        the other 2 columns
  2363.      * Click  "Update  query"  and you will see in the query box that the
  2364.        correct joins have been generated
  2365.      * Click "Submit query"
  2366.  
  2367.     [6.7] How can I use the "display field" feature?
  2368.  
  2369.    Starting  from  the  previous  example,  create  the pma_table_info as
  2370.    explained  in  the  configuration  section,  then  browse your persons
  2371.    table, and move the mouse over a town code or country code.
  2372.    See  also  FAQ  6.21  for  an additionnal feature that "display field"
  2373.    enables: drop-down list of possible values.
  2374.  
  2375.     [6.8] How can I produce a PDF schema of my database?
  2376.  
  2377.    First  you have to fill the "relation", "table_coords" and "pdf_pages"
  2378.    configuration variables.
  2379.    Then,  think  about  your schema layout: which tables will go on which
  2380.    pages.
  2381.      * Click on your db name in the left frame
  2382.      * Choose "Structure" in the navigation on top
  2383.      * Choose "Edit PDF Pages" which should be somewhere at the bottom of
  2384.        the page
  2385.      * Enter  the  name for a first pdf page and submit (you can also use
  2386.        the  "Automatic  layout",  which  will  place on your page all the
  2387.        tables that are linked)
  2388.      * Choose this page to edit
  2389.      * Now  add a table you want to show on this page and its coordinates
  2390.        and submit
  2391.        First  you will have to guess those coordinates of course, so just
  2392.        expect  to  have  an  area  of  about 297 * 210 and put the tables
  2393.        coordinates somewhere in there, you will be able to have a look at
  2394.        what happened and change them later.
  2395.        For  example,  x=100 and y=200 means that the table will be at 200
  2396.        mm down and 100 mm right from the upper left corner.
  2397.        Actually  if you have a width of more than 300 or a height of more
  2398.        than  200  then  it  will automatically be scaled but 200*100 is a
  2399.        good start to have an idea of what coordinates to use.
  2400.      * There  is  also  a visual editor (scratchboard) available, see the
  2401.        explanation at the $cfg['WYSIWYG-PDF'] section.
  2402.      * After  every  table you submitted you will have the possibility to
  2403.        submit more tables
  2404.      * When  you  have entered enough tables Click on your db name in the
  2405.        left frame again
  2406.      * Now,  again at the bottom of the page you should be able to choose
  2407.        "Display PDF schema"
  2408.        For  testing  it  might be useful to show the grid as well, so you
  2409.        can see the coordinates used.
  2410.        Maybe also choose color and submit.
  2411.      * Save  the  file  he  will  offer  you to something like Schema.pdf
  2412.        (Internet Explorer has some bug there which might make it offer it
  2413.        without  an  extension.  Under Windows it is important to have the
  2414.        extension  ".pdf", under other OSes you should be fine just saving
  2415.        the file under the name it offers).
  2416.  
  2417.     [6.9] phpMyAdmin is changing the type of one of my columns!
  2418.  
  2419.    No, it's MySQL that is doing silent column type changing.
  2420.  
  2421.     [6.10] When creating a privilege, what happens with underscores in the
  2422.     database name?
  2423.  
  2424.    If  you  do  not  put  a  backslash  before  the underscore, this is a
  2425.    wildcard  grant,  and the underscore means "any character". So, if the
  2426.    database  name  is  "john_db",  the  user would get rights to john1db,
  2427.    john2db...
  2428.    If  you  put  a  backslash  before  the  underscore, it means that the
  2429.    database name will have a real underscore.
  2430.  
  2431.     [6.11] What is the curious symbol ° in the statistics pages?
  2432.  
  2433.    It means "average".
  2434.  
  2435.     [6.12] I want to understand some Export options.
  2436.  
  2437.    "Complete  inserts" adds the column names on every INSERT command, for
  2438.    better documentation (but resulting file is bigger).
  2439.    "Extended inserts" provides a shorter dump file by using only once the
  2440.    INSERT verb and the table name.
  2441.    "Enclose table and field names with backquotes" ensures that field and
  2442.    table names formed with special characters are protected.
  2443.    "Add AUTO_INCREMENT value" ensures, that AUTO_INCREMENT value (if any)
  2444.    will be included in backup.
  2445.    "Add into comments" includes column comments, relations and MIME types
  2446.    set in the PMA-DB in the dump as SQL comments (/* xxx */).
  2447.  
  2448.     [6.13] I would like to create a database with a dot in its name.
  2449.  
  2450.    This  is  a  bad idea, because in MySQL the syntax "database.table" is
  2451.    the  normal  way  to reference a database and table name. Worse, MySQL
  2452.    will usually let you create a database with a dot, but then you cannot
  2453.    work with it, nor delete it.
  2454.  
  2455.     [6.14] How do I set up the SQL Validator?
  2456.  
  2457.    To  use  it, you need a very recent version of PHP, 4.3.0 recommended,
  2458.    with  XML,  PCRE  and  PEAR  support. On your system command line, run
  2459.    "pear install Net_Socket Net_URL HTTP_Request Mail_Mime Net_DIME SOAP"
  2460.    to get the necessary PEAR modules for usage.
  2461.    On  a  more  recent  pear  version,  I  had problems with the state of
  2462.    Net_DIME    being    beta,   so   this   single   command   "pear   -d
  2463.    preferred_state=beta   install  -a  SOAP"  installed  all  the  needed
  2464.    modules.
  2465.    If  you  use the Validator, you should be aware that any SQL statement
  2466.    you  submit  will  be stored anonymously (database/table/column names,
  2467.    strings,   numbers  replaced  with  generic  values).  The  Mimer  SQL
  2468.    Validator itself, is ⌐ 2001 Upright Database Technology. We utilize it
  2469.    as free SOAP service.
  2470.  
  2471.     [6.15] I want to add a BLOB field and put an index on it, but MySQL says
  2472.     "BLOB column '...' used in key specification without a key length".
  2473.  
  2474.    The  right way to do this, is to create the field without any indexes,
  2475.    then display the table structure and use the "Create an index" dialog.
  2476.    On  this  page,  you will be able to choose your BLOB field, and set a
  2477.    size to the index, which is the condition to create an index on a BLOB
  2478.    field.
  2479.  
  2480.     [6.16] How can I simply move in page with plenty editing fields?
  2481.  
  2482.    You  can  use Ctrl+arrows (Option+Arrows in Safari) for moving on most
  2483.    pages  with many editing fields (table structure changes, row editing,
  2484.    etc.)     (must     be     enabled    in    configuration    -    see.
  2485.    $cfg['CtrlArrowsMoving']).  You  can also have a look at the directive
  2486.    $cfg['DefaultPropDisplay']  ('vertical')  and  see  if  this  eases up
  2487.    editing for you.
  2488.  
  2489.     [6.17] Transformations: I can't enter my own mimetype! WTF is this feature
  2490.     then useful for?
  2491.  
  2492.    Slow  down  :).  Defining  mimetypes  is  of  no use, if you can't put
  2493.    transformations on them. Otherwise you could just put a comment on the
  2494.    field.  Because  entering  your own mimetype will cause serious syntax
  2495.    checking   issues   and   validation,   this  introduces  a  high-risk
  2496.    false-user-input  situation.  Instead you have to initialize mimetypes
  2497.    using functions or empty mimetype definitions.
  2498.    Plus,  you have a whole overview of available mimetypes. Who knows all
  2499.    those mimetypes by heart so he/she can enter it at will?
  2500.  
  2501.     [6.18] Bookmarks: Where can I store bookmarks? Why can't I see any
  2502.     bookmarks below the query box? What is this variable for?
  2503.  
  2504.    Any  query  you  have executed can be stored as a bookmark on the page
  2505.    where  the  results  are  displayed.  You  will  find a button labeled
  2506.    'Bookmark this query' just at the end of the page.
  2507.    As  soon  as you have stored a bookmark, it is related to the database
  2508.    you  run  the query on. You can now access a bookmark dropdown on each
  2509.    page, the query box appears on for that database.
  2510.    Since  phpMyAdmin  2.5.0  you are also able to store variables for the
  2511.    bookmarks.  Just use the string /*[VARIABLE]*/ anywhere in your query.
  2512.    Everything which is put into the value input box on the query box page
  2513.    will replace the string "/*[VARIABLE]*/" in your stored query. Just be
  2514.    aware  of  that you HAVE to create a valid query, otherwise your query
  2515.    won't be even able to be stored in the database.
  2516.    Also  remember,  that everything else inside the /*[VARIABLE]*/ string
  2517.    for  your query will remain the way it is, but will be stripped of the
  2518.    /**/ chars. So you can use:
  2519.    /*, [VARIABLE] AS myname */
  2520.    which will be expanded to
  2521.    , VARIABLE as myname
  2522.    in  your  query, where VARIABLE is the string you entered in the input
  2523.    box. If an empty string is provided, no replacements are made.
  2524.    A more complex example. Say you have stored this query:
  2525.    SELECT  Name,  Address  FROM  addresses  WHERE  1  /*  AND  Name  LIKE
  2526.    '%[VARIABLE]%' */
  2527.    Say,  you now enter "phpMyAdmin" as the variable for the stored query,
  2528.    the full query will be:
  2529.    SELECT   Name,   Address   FROM   addresses  WHERE  1  AND  Name  LIKE
  2530.    '%phpMyAdmin%'
  2531.    You can use multiple occurences of /*[VARIABLE]*/ in a single query.
  2532.    NOTE  THE  ABSENCE  OF  SPACES inside the "/**/" construct. Any spaces
  2533.    inserted there will be later also inserted as spaces in your query and
  2534.    may  lead  to  unexpected  results  especially when using the variable
  2535.    expansion inside of a "LIKE ''" expression.
  2536.    Your  initial  query  which is going to be stored as a bookmark has to
  2537.    yield  at  least one result row so you can store the bookmark. You may
  2538.    have that to work around using well positioned "/**/" comments.
  2539.  
  2540.     [6.19] How can I create simple LaTeX document to include exported table?
  2541.  
  2542.    You  can  simply include table in your LaTeX documents, minimal sample
  2543.    document  should  look  like  following  one  (assuming you have table
  2544.    exported in file table.tex):
  2545. \documentclass{article} % or any class you want
  2546. \usepackage{longtable}  % for displaying table
  2547. \begin{document}        % start of document
  2548. \include{table}         % including exported table
  2549. \end{document}          % end of document
  2550.  
  2551.     [6.20] In MySQL 4, I see a lot of databases which are not mine, and cannot
  2552.     access them.
  2553.  
  2554.    Upgrading  to  MySQL  4  usually  gives users those global privileges:
  2555.    CREATE TEMPORARY TABLES, SHOW DATABASES, LOCK TABLES. Those privileges
  2556.    also  enables  users  to see all the database names, until you upgrade
  2557.    the  grant  tables  as  described  in  the  MySQL manual. See this bug
  2558.    report.
  2559.    So if your users do not need those privileges, you can remove them and
  2560.    their databases list will shorten.
  2561.  
  2562.     [6.21] In edit/insert mode, how can I see a list of possible values for a
  2563.     field, based on some foreign table?
  2564.  
  2565.    You have to setup appropriate links between the tables, and also setup
  2566.    the  "display field" in the foreign table. See FAQ 6.6 for an example.
  2567.    Then,  if  there  are  200  values  or  less  in  the foreign table, a
  2568.    drop-down  list of values will be available. You will see two lists of
  2569.    values,  the  first list containing the key and the display field, the
  2570.    second  list  containing the display field and the key. The reason for
  2571.    this  is  to be able to type the first letter of either the key or the
  2572.    display field.
  2573.    For  200  values  or  more,  a  distinct window will appear, to browse
  2574.    foreign key values and choose one.
  2575.  
  2576.     [6.22] Bookmarks: Can I execute a default bookmark automatically when
  2577.     entering Browse mode for a table?
  2578.  
  2579.    Yes.  If  a  bookmark  has  the same label as a table name, it will be
  2580.    executed.
  2581.  
  2582.     [6.23] Export: I heard phpMyAdmin can export MS Excel files, how can I
  2583.     enable that?
  2584.  
  2585.    You can either export as CSV suitable for MS Excel, which works out of
  2586.    the  box  or  you  can try native experimental MS Excel exporter. This
  2587.    export  has  several  problems,  most important are limitation of cell
  2588.    content  to  255 chars and no support for charsets, so think carefully
  2589.    whether  you  want  to enable this.. For enabling this you need to set
  2590.    $cfg['TempDir']  to place where web server user can write (for example
  2591.    './tmp')  and  install  PEAR  module Spreadsheet_Excel_Writer into php
  2592.    include path. The installation can be done by following command:
  2593.     pear -d preferred_state=beta install -a Spreadsheet_Excel_Writer
  2594.  
  2595.    First  part  of  switches  set we want to install beta version of that
  2596.    module (no stable version available yet) and then we tell pear we want
  2597.    to satisfy dependencies.
  2598.  
  2599.    If  you  are running in PHP safe mode, you will have to set in php.ini
  2600.    the safe_mode_include_dir to the directory where your PEAR modules are
  2601.    located, for example:
  2602.     safe_mode_include_dir = /usr/local/lib/php
  2603.  
  2604.    To create the temporary directory on a UNIX-based system, you can do:
  2605.     cd phpMyAdmin
  2606.     mkdir tmp
  2607.     chmod o+rwx tmp
  2608.  
  2609.   [7. phpMyAdmin project]
  2610.  
  2611.     [7.1] I have found a bug. How do I inform developers?
  2612.  
  2613.    Our Bug Tracker is located at
  2614.    http://sourceforge.net/projects/phpmyadmin/ under the Bugs section.
  2615.    But please first discuss your bug with other users:
  2616.    http://sourceforge.net/projects/phpmyadmin/ (and choose Forums)
  2617.  
  2618.     [7.2] I want to translate the messages to a new language or upgrade an
  2619.     existing language, where do I start?
  2620.  
  2621.    Always  use  the  current CVS version of your language file. For a new
  2622.    language, start from english-iso-8859-1.inc.php. If you don't know how
  2623.    to get the CVS version, please ask one of the developers.
  2624.    Please  note that we try not to use HTML entities like é in the
  2625.    translations,  since  we  define  the right character set in the file.
  2626.    With  HTML entities, the text on JavaScript messages would not display
  2627.    correctly.  However there are some entities that need to be there, for
  2628.    quotes ,non-breakable spaces, ampersands, less than, greater than.
  2629.    You  can  then  put  your  translations, as a zip file to avoid losing
  2630.    special characters, on the sourceforge.net translation tracker.
  2631.    It  would  be  a  good idea to subscribe to the phpmyadmin-translators
  2632.    mailing  list,  because  this  is where we ask for translations of new
  2633.    messages.
  2634.  
  2635.     [7.3] I would like to help out with the development of phpMyAdmin. How
  2636.     should I proceed?
  2637.  
  2638.    The following method is preferred for new developers:
  2639.     1. fetch the current CVS tree over anonymous CVS:
  2640.        cvs
  2641.        -d:pserver:anonymous@cvs.phpmyadmin.sourceforge.net:/cvsroot/phpmy
  2642.        admin login
  2643.        [Password: simply press the Enter key]
  2644.        cvs -z3
  2645.        -d:pserver:anonymous@cvs.phpmyadmin.sourceforge.net:/cvsroot/phpmy
  2646.        admin checkout phpMyAdmin
  2647.        [This will create a new sub-directory named phpMyAdmin]
  2648.     2. add your stuff
  2649.     3. put  the  modified  files  (tar'ed  and  gzip'ed) inside the patch
  2650.        tracker of the phpMyAdmin SourceForge account.
  2651.  
  2652.    Write access to the CVS tree is granted only to experienced developers
  2653.    who have already contributed something useful to phpMyAdmin.
  2654.    Also, have a look at the Developers section.
  2655.  
  2656.   [8. Security ]
  2657.  
  2658.     [8.1] Security alert, dated 2003-06-18.
  2659.  
  2660.    Last update of this FAQ: 2003-07-22.
  2661.    The  phpMyAdmin  development  team  received  notice  of this security
  2662.    alert: http://www.securityfocus.com/archive/1/325641.
  2663.    The  team  regrets  that the author did not communicate with us before
  2664.    sending  this  alert. However, here is our current reply to the points
  2665.    mentionned:
  2666.      * "Directory transversal attack"
  2667.        This  problem  had been fixed in version 2.5.0, even if the author
  2668.        reports  the  2.5.2  development  version  as vulnerable, which we
  2669.        could not reproduce.
  2670.      * "Remote local file retrieving"
  2671.        This is a misleading title, as the author tells in his text: "Note
  2672.        that you can't request files ( only dirs )".
  2673.      * "Remote internal directory listing"
  2674.        It  was  possible  to  retrieve the list of phpMyAdmin's directory
  2675.        (which  we  doubt  can cause any damage), but we fixed this in the
  2676.        2.5.2 version.
  2677.      * "XSS and Path disclosures"
  2678.        Most  of  the  XSS  problems have been fixed in version 2.5.0. The
  2679.        rest have been fixed in the 2.5.2 version.
  2680.        We believe that the Path disclosures problems have also been fixed
  2681.        in version 2.5.2.
  2682.      * "Information encoding weakness"
  2683.        We believe that an exploit for this weakness would be difficult to
  2684.        achieve.  However version 2.5.2 now encrypts the password with the
  2685.        well-known blowfish algorithm.
  2686.  
  2687.     [8.2] Security alert, dated 2004-06-29.
  2688.  
  2689.    Last update of this FAQ: 2004-06-30.
  2690.    The  phpMyAdmin  development  team  received  notice  of this security
  2691.    alert:
  2692.    http://securityfocus.com/archive/1/367486/2004-06-26/2004-07-02/0
  2693.    We  would  like  to  put emphasis on the disappointment we feel when a
  2694.    bugreporter  does  not contact the authors of a software first, before
  2695.    posting  any  exploits.  The common way to report this, is to give the
  2696.    developers a reasonable amount of time to respond to an exploit before
  2697.    it is made public.
  2698.    We  acknowledge that phpMyAdmin versions 2.5.1 to 2.5.7 are vulnerable
  2699.    to this problem, if each of the following conditions are met:
  2700.      * The Web server hosting phpMyAdmin is not running in safe mode.
  2701.      * In  config.inc.php,  $cfg['LeftFrameLight']  is  set to FALSE (the
  2702.        default value of this parameter is TRUE).
  2703.      * There  is no firewall blocking requests from the Web server to the
  2704.        attacking host.
  2705.  
  2706.    Version 2.5.7-pl1 was released with a fix for this vulnerability.
  2707.  
  2708. Developers Information
  2709.  
  2710.    phpMyAdmin is Open Source, so you're invited to contribute to it. Many
  2711.    great  features have been written by other people and you too can help
  2712.    to make phpMyAdmin a useful tool.
  2713.  
  2714.    If  you're  planning  to  contribute source, please read the following
  2715.    information:
  2716.      * All       files       include       header.inc.php       (layout),
  2717.        libraries/common.lib.php (common functions) and config.inc.php.
  2718.        Only  configuration  data should go in config.inc.php. Please keep
  2719.        it free from other code.
  2720.        Commonly used functions should be added to
  2721.        libraries/common.lib.php  and  more  specific  ones  may  be added
  2722.        within a library stored into the libraries sub-directory.
  2723.      * Obviously,  you're free to use whatever coding style you want. But
  2724.        please  try to keep your code as simple as possible: beginners are
  2725.        using phpMyAdmin as an example application.
  2726.        As  far  as  possible, we want the scripts to be XHTML1.0 and CSS2
  2727.        compliant  on  one hand, they fit the PEAR coding standards on the
  2728.        other hand. Please pay attention to this.
  2729.      * Please  try  to keep up the file-naming conventions. Table-related
  2730.        stuff   goes   to   tbl_*.php,   db-related   code   to  db_*.php,
  2731.        server-related tools to server_*.php and so on.
  2732.      * Please  don't  use  verbose  strings in your code, instead add the
  2733.        string  (at  least)  to  english-iso-8859-1.inc.php and print() it
  2734.        out.
  2735.      * If  you  want  to  be  really  helpful,  write  an  entry  for the
  2736.        ChangeLog.
  2737.      * The   DBG  extension  (PHP  Debugger  DBG)  is  now  supported  by
  2738.        phpMyAdmin for developers to better debug and profile their code.
  2739.        Please   see  the  $cfg['DBG']*  configuration  options  for  more
  2740.        information.
  2741.        This  is in memoriam of the Space Shuttle Columbia (STS-107) which
  2742.        was lost during its re-entry into Earth's atmosphere and in memory
  2743.        of  the brave men and women who gave their lives for the people of
  2744.        Earth.
  2745.  
  2746. Credits
  2747.  
  2748.  
  2749. phpMyAdmin - Credits
  2750. ====================
  2751.  
  2752. CREDITS, in chronological order
  2753. -------------------------------
  2754.  
  2755. - Tobias Ratschiller <tobias_at_ratschiller.com>
  2756.     * creator of the phpmyadmin project
  2757.     * maintainer from 1998 to summer 2000
  2758.  
  2759. - Marc Delisle <DelislMa_at_CollegeSherbrooke.qc.ca>
  2760.     * multi-language version
  2761.     * various fixes and improvements
  2762.     * SQL analyser (most of it)
  2763.     * current project maintainer
  2764.  
  2765. - Olivier Mⁿller <om_at_omnis.ch>
  2766.     * started SourceForge phpMyAdmin project in March 2001
  2767.     * sync'ed different existing CVS trees with new features and bugfixes
  2768.     * multi-language improvements, dynamic language selection
  2769.     * current project maintainer
  2770.     * many bugfixes and improvements
  2771.  
  2772. - Lo∩c Chapeaux <lolo_at_phpheaven.net>
  2773.     * rewrote and optimized javascript, DHTML and DOM stuff
  2774.     * rewrote the scripts so they fit the PEAR coding standards and
  2775.       generate XHTML1.0 and CSS2 compliant codes
  2776.     * improved the language detection system
  2777.     * many bugfixes and improvements
  2778.  
  2779. - Robin Johnson <robbat2_at_users.sourceforge.net>
  2780.     * database maintenance controls
  2781.     * table type code
  2782.     * Host authentication IP Allow/Deny
  2783.     * DB-based configuration (Not completed)
  2784.     * SQL parser and pretty-printer
  2785.     * SQL validator
  2786.     * many bugfixes and improvements
  2787.  
  2788. - Armel Fauveau <armel.fauveau_at_globalis-ms.com>
  2789.     * bookmarks feature
  2790.     * multiple dump feature
  2791.     * gzip dump feature
  2792.     * zip dump feature
  2793.  
  2794. - Geert Lund <glund_at_silversoft.dk>
  2795.     * various fixes
  2796.     * moderator of the phpMyAdmin users forum at phpwizard.net
  2797.  
  2798. - Korakot Chaovavanich <korakot_at_iname.com>
  2799.     * "insert as new row" feature
  2800.  
  2801. - Pete Kelly <webmaster_at_trafficg.com>
  2802.     * rewrote and fix dump code
  2803.     * bugfixes
  2804.  
  2805. - Steve Alberty <alberty_at_neptunlabs.de>
  2806.     * rewrote dump code for PHP4
  2807.     * mySQL table statistics
  2808.     * bugfixes
  2809.  
  2810. - Benjamin Gandon <gandon_at_isia.cma.fr>
  2811.     * main author of the version 2.1.0.1
  2812.     * bugfixes
  2813.  
  2814. - Alexander M. Turek <me_at_derrabus.de>
  2815.     * MySQL 4.0 / 4.1 / 5.0 compatibility
  2816.     * abstract database interface (PMA_DBI) with MySQLi support
  2817.     * privileges administration
  2818.     * XML exports
  2819.     * various features and fixes
  2820.     * German language file updates
  2821.  
  2822. - Mike Beck <mike.beck_at_web.de>
  2823.     * automatic joins in QBE
  2824.     * links column in printview
  2825.     * Relation view
  2826.  
  2827. - Michal Cihar <michal_at_cihar.com>
  2828.     * enhanced index creation/display feature
  2829.     * feature to use a different charset for HTML than for MySQL
  2830.     * improvements of export feature
  2831.     * various features and fixes
  2832.     * Czech language file updates
  2833.  
  2834. - Christophe GeschΘ from the "MySQL Form Generator for PHPMyAdmin"
  2835.   (http://sourceforge.net/projects/phpmysqlformgen/)
  2836.     * suggested the patch for multiple table printviews
  2837.  
  2838. - Garvin Hicking <me_at_supergarv.de>
  2839.     * built the patch for vertical display of table rows
  2840.     * built the Javascript based Query window + SQL history
  2841.     * Improvement of column/db comments
  2842.     * (MIME)-Transformations for columns
  2843.     * Use custom alias names for Databases in left frame
  2844.     * hierarchical/nested table display
  2845.     * PDF-scratchboard for WYSIWYG-distribution of PDF relations
  2846.     * new icon sets
  2847.     * vertical display of column properties page
  2848.     * some bugfixes, features, support, German language additions
  2849.  
  2850. - Yukihiro Kawada <kawada_at_den.fujifilm.co.jp>
  2851.     * japanese kanji encoding conversion feature
  2852.  
  2853. - Piotr Roszatycki <d3xter_at_users.sourceforge.net> and Dan Wilson
  2854.     * the Cookie authentication mode
  2855.  
  2856. - Axel Sander <n8falke_at_users.sourceforge.net>
  2857.     * table relation-links feature
  2858.  
  2859. - Maxime Delorme <delorme.maxime_at_free.fr>
  2860.     * PDF schema output, thanks also to Olivier Plathey for the
  2861.       "FPDF" library (see http://www.fpdf.org/) and Steven Wittens
  2862.       for the "UFPDF" library (see http://www.acko.net/node/56).
  2863.  
  2864. - Olof Edlund <olof.edlund_at_upright.se>
  2865.     * SQL validator server
  2866.  
  2867. - Ivan R. Lanin <ivanlanin_at_users.sourceforge.net>
  2868.     * phpMyAdmin logo (until June 2004)
  2869.  
  2870. - Mike Cochrane <mike_at_graftonhall.co.nz>
  2871.     * blowfish library from the Horde project
  2872.  
  2873. - Marcel Tschopp <ne0x_at_users.sourceforge.net>
  2874.     * mysqli support
  2875.     * many bugfixes and improvements
  2876.  
  2877. - Michael Keck <mkkeck_at_users.sourceforge.net>
  2878.     * redesign for 2.6.0
  2879.     * phpMyAdmin sailboat logo (June 2004)
  2880.  
  2881. - Mathias LandhΣu▀er
  2882.     * Representation at conferences
  2883.  
  2884. And also to the following people who have contributed minor changes,
  2885. enhancements, bugfixes or support for a new language since version 2.1.0:
  2886.  
  2887. Bora Alioglu, Ricardo ?, Sven-Erik Andersen, Alessandro Astarita,
  2888. PΘter Bakondy, Borges Botelho, Olivier Bussier, Neil Darlow,
  2889. Mats Engstrom, Ian Davidson, Laurent Dhima, Kristof Hamann, Thomas KlΣger,
  2890. Lubos Klokner, Martin Marconcini, Girish Nair, David Nordenberg, Andreas Pauley,
  2891. Bernard M. Piller, Laurent Haas, "Sakamoto", Yuval Sarna,
  2892. www.securereality.com.au, Alexis Soulard, Alvar Soome, Siu Sun, Peter Svec,
  2893. Michael Tacelosky, Rachim Tamsjadi, Kositer Uros,
  2894. Luφs V., Martijn W. van der Lee,
  2895. Algis Vainauskas, Daniel Villanueva, Vinay, Ignacio Vazquez-Abrams, Chee Wai,
  2896. Jakub Wilk, Thomas Michael Winningham, Vilius Zigmantas, "Manuzhai".
  2897.  
  2898.  
  2899. Original Credits of Version 2.1.0
  2900. ---------------------------------
  2901.  
  2902.     This work is based on Peter Kuppelwieser's MySQL-Webadmin. It was his idea
  2903.     to create a web-based interface to MySQL using PHP3. Although I have not
  2904.     used any of his source-code, there are some concepts I've borrowed from
  2905.     him. phpMyAdmin was created because Peter told me he wasn't going to
  2906.     further develop his (great) tool.
  2907.     Thanks go to
  2908.     - Amalesh Kempf <ak-lsml_at_living-source.com> who contributed the
  2909.       code for the check when dropping a table or database. He also suggested
  2910.       that you should be able to specify the primary key on tbl_create.php3. To
  2911.       version 1.1.1 he contributed the ldi_*.php3-set (Import text-files) as
  2912.       well as a bug-report. Plus many smaller improvements.
  2913.     - Jan Legenhausen <jan_at_nrw.net>: He made many of the changes that
  2914.       were introduced in 1.3.0 (including quite significant ones like the
  2915.       authentication). For 1.4.1 he enhanced the table-dump feature. Plus
  2916.       bug-fixes and help.
  2917.     - Marc Delisle <DelislMa_at_CollegeSherbrooke.qc.ca> made phpMyAdmin
  2918.       language-independent by outsourcing the strings to a separate file. He
  2919.       also contributed the French translation.
  2920.     - Alexandr Bravo <abravo_at_hq.admiral.ru> who contributed
  2921.       tbl_select.php3, a feature to display only some fields from a table.
  2922.     - Chris Jackson <chrisj_at_ctel.net> added support for MySQL
  2923.       functions in tbl_change.php3. He also added the
  2924.       "Query by Example" feature in 2.0.
  2925.     - Dave Walton <walton_at_nordicdms.com> added support for multiple
  2926.       servers and is a regular contributor for bug-fixes.
  2927.     - Gabriel Ash <ga244_at_is8.nyu.edu> contributed the random access
  2928.       features for 2.0.6.
  2929.     The following people have contributed minor changes, enhancements, bugfixes
  2930.     or support for a new language:
  2931.     Jim Kraai, Jordi Bruguera, Miquel Obrador, Geert Lund, Thomas Kleemann,
  2932.     Alexander Leidinger, Kiko Albiol, Daniel C. Chao, Pavel Piankov,
  2933.     Sascha Kettler, Joe Pruett, Renato Lins, Mark Kronsbein, Jannis Hermanns,
  2934.     G. Wieggers.
  2935.  
  2936.     And thanks to everyone else who sent me email with suggestions, bug-reports
  2937.     and or just some feedback.
  2938.  
  2939.                                         Valid XHTML 1.0!      Valid CSS! 
  2940.